Solved

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

Posted on 2013-12-27
1
1,306 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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Foreword (May 2015) This web page has appeared at Google.  It's definitely worth considering! https://www.google.com/about/careers/students/guide-to-technical-development.html How to Know You are Making a Difference at EE In August, 2013, one …
A publishing tool, a Version Control System, or a Collaboration Platform! These can be some of the defining words for the two very famous web-hosting Git repositories: Bitbucket and Github. Git is widely used amongst the programmers and developers f…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
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.

726 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