Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2013-12-27
1
Medium Priority
?
1,462 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Plesk WordPress Toolkit

Plesk's WordPress Toolkit allows server administrators, resellers and customers to manage their WordPress instances, enabling a variety of development workflows for WordPress admins of all skill levels, from beginners to pros.

See why 2/3 of Plesk servers use it.

Question has a verified solution.

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

What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
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…
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

610 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