?
Solved

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

Posted on 2013-12-27
1
Medium Priority
?
1,510 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 1000 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Foolproof security solutions has become one of the key necessities of every e-commerce or Internet banking website. If you too own an online shopping site then its vital for you to equip your web portal with customer security features that can allow…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

864 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