Solved

How to get user title from Active Directory using C# and ASP.net

Posted on 2013-12-27
1
1,205 Views
Last Modified: 2014-01-19
Please advise how to get user title from Active Directory using C# and ASP.net?
0
Comment
Question by:Jugnoo2013
1 Comment
 
LVL 12

Accepted Solution

by:
piattnd earned 500 total points
ID: 39742913
This link is a great link that describes querying Microsoft Active Directory using the .NET framework.

http://www.codeproject.com/Articles/9570/Querying-Microsoft-Active-Directory-Using-Microsof

The "PropertiesToLoad" section is where you should populate the items you are looking for.

This link gives you a list of common properties as they are in Active Directory.

http://www.selfadsi.org/user-attributes.htm

In your case, "title" is the reference to the user's title, but some things like login name are not quite so straight forward, such as "sAMAccountName".
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

      Install BugTracker on Windows 2008 server Step 1:  Install windows 2008 server 32 bit OS and configure IIS. Step 2:  Install SQL server ( SQL server 2005 or SQL server 2005 Express edition. The installer for 2008  version isn’t very f…
Using Quotation Marks in PHP This question (http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_28217211.html) seems to come up a lot for developers who are new to PHP.  And it got me thinking, "How can we explain the rule…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now