Reading the Active Directory

  • Hi All

    I want to be able to read only a list of the users (students) in a Student Group on our server

    how do i go about reading the Active Directory.

    any code would be very welcome

    Thanks in adavance

    Steve

  • In SQL Query Analyser type :

     

    EXEC xp_logininfo 'DomainName\GroupName', 'members'

     

    In vbscript :

    Download ADSI scriptomatic from microsoft and ... well some work to do

     

    Marc

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply