none
Retrieving user attributes from Active Directory RRS feed

  • Question

  • I am working on a project where all stuffs including retrieving user attributes from Active Directory ? How to retrieve user attributes like OU name, Department,Designation, Security groups using C# code ?
    Monday, July 6, 2015 6:50 PM

All replies

  • 1. OU is part of DN, so you need to have an advanced flow to split the OU from DN

    2. Department is a direct mapping

    3. ....

    4. Security Groups (or MemberOf) is not as simple.  You need to import both users and groups, and then you can get the membership.


    Nosh Mernacaj, Identity Management Specialist

    • Proposed as answer by Nosh Mernacaj Monday, July 6, 2015 7:04 PM
    Monday, July 6, 2015 7:04 PM
  • Thanks Nosh for your reply.I have another doubt i.e, How can I bind these attributes to my dropdownlist?
    Monday, July 6, 2015 11:20 PM
  • Dropdown list where? and what attributes? You need to give me more detail here.


    Nosh Mernacaj, Identity Management Specialist

    Tuesday, July 7, 2015 12:50 PM
  • My requirement is to access(bind)  OU name, Department,Designation, Security groups into dropdownlist using C# code ?
    Tuesday, July 7, 2015 3:07 PM
  • Please answer all the questions, not just a few.

    1. Shridhar, is this FIM (Forefront Identity Manager) that you are talking about, or something else?

    2. Where is the dropdown box? 

    3. Security Groups and the rest of attributes are handled different. This is a very broad question.


    Nosh Mernacaj, Identity Management Specialist

    Tuesday, July 7, 2015 3:34 PM