|
-
Mar 18th, 2003, 05:16 AM
#1
Thread Starter
Member
adding and removing users from AD
I am trying to add and remove accounts in my AD depending on membership of a certain group.
------------------------------------------------
Dim test As DirectoryEntry
Try
test = entrypc.Children.Find("john", "User")
entrypc.Children.Remove(test)
-------------------------------------------------
I have succeeded to add and remove but I don't understand how to determine if a user is a member of a specific group.
Does anyone know how to solve this problem, please?
/Anders
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
|