Solved

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

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Developer tools in browsers have been around for a while, yet they are still heavily underused by developers. Developers still fix html or CSS then refresh page to see effect, or they put alert or debugger in JavaScript and then try again and again …
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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.

695 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