Help,I am a abecedarian,AD and global group problem in VB.NET

  • Thread starter Thread starter chen jin cai via DotNetMonster.com
  • Start date Start date
C

chen jin cai via DotNetMonster.com

I supposed to add member(s) to or delete member(s) from one new group created by me ,which is similar to Administrators and Power Users in global group which in my computer by VB.NET,there are my codes
to list the member(s) from one group in my computer,as follows:
Dim Group
Dim User

Group = GetObject("WinNT://mis-cjc/accessform")

For Each User In Group.Members
Console.WriteLine(User.Name)
Next

"mis-cjc" is my computer' name ,and "accessform" is a new group created by me.It can browse only.
Now,I want to add or remove.
Can you help me?

Thank you!
Best wishes!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top