User Group

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?Rmx1YmJlcg==?=

    #1

    User Group

    Hello together,



    I have got a question for Searching in Active Directory.
    If I have one user in the Active Directory, how can I read-out of the AD
    the groups from this user??



    Thank you.

    Greez Flubber
  • Steve

    #2
    Re: User Group

    Get the IADSUser object for the account (which can be done by searching,
    as well as other methods), then use the Groups property of the object.

    Here's a link to the MSDN article, which also shows a great example:

    http://msdn2.microsoft.com/en-us/library/aa746342.aspx


    Steve C.
    MCAD,MCSE,MCP+I ,CNE,CNA,CCNA


    Flubber wrote:
    Hello together,
    >
    >
    >
    I have got a question for Searching in Active Directory.
    If I have one user in the Active Directory, how can I read-out of the AD
    the groups from this user??
    >
    >
    >
    Thank you.
    >
    Greez Flubber

    Comment

    Working...