| .NET DotNet Forum Index » VB.NET Forum (Visual Basic .NET) » Active Directory... |
|
Page 1 of 1 |
|
| Author |
Message |
| Ed Wyche... |
Posted: Thu Nov 05, 2009 3:13 pm |
|
|
|
Guest
|
I am using VB.Net from Visual Studio 2008.
I would like some code to be able to delete all users from a group. The
groups will be all over AD so I can't specify a OU. Also I would like to
add users to a group and the same thing the groups are all through out AD.
I would appreciate any help that I can get.
Thanks
Ed |
|
|
| Back to top |
|
|
|
| Ed Wyche... |
Posted: Thu Nov 05, 2009 3:39 pm |
|
|
|
Guest
|
Also if the group doesn't exist I need it continue or query AD to see if the
group exists before continuing. This is going to be used in a loop.
"Ed Wyche" <none12 at (no spam) none.com> wrote in message
news:0B77276A-6D16-477B-A55B-81ACF5CF2F26 at (no spam) microsoft.com...
Quote: I am using VB.Net from Visual Studio 2008.
I would like some code to be able to delete all users from a group. The
groups will be all over AD so I can't specify a OU. Also I would like to
add users to a group and the same thing the groups are all through out AD.
I would appreciate any help that I can get.
Thanks
Ed
|
|
|
| Back to top |
|
|
|
|