-
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
-
Re: active directory
why cant i do this line?
Code:
Dim dso As IADsOpenDSObject
it keeps saying that type IADsOpenDSObject is not defined
-
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.