|
-
Jul 14th, 2008, 08:14 AM
#1
Thread Starter
Hyperactive Member
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
-
Jul 14th, 2008, 09:43 AM
#2
Thread Starter
Hyperactive Member
Re: active directory
why cant i do this line?
Code:
Dim dso As IADsOpenDSObject
it keeps saying that type IADsOpenDSObject is not defined
-
Jul 14th, 2008, 01:17 PM
#3
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|