Results 1 to 3 of 3

Thread: active directory

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2006
    Posts
    260

    active directory

    hey guys,
    how do i get the user name and then check to see if that user is in the right groups in active directory. please help. thanks
    Code:
    Request.ServerVariables("LOGON_USER")
    the code above i believe will get the domain\user login id. but now how do i check that agains my active directory so that if hes in the right group i can let him through if not kick him out. thanks guys

  2. #2

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2006
    Posts
    260

    Re: active directory

    why cant i do this line?
    Code:
    Dim dso As IADsOpenDSObject
    it keeps saying that type IADsOpenDSObject is not defined

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: active directory

    Do a search for DirectoryService on MSDN, it lets you query the AD/LDAP so that you can see the user's groups and other details that you may need.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width