Thanks for your attention,let's strive together

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

chen jin cai via DotNetMonster.com

I have re-entried.
oh,sorry,I am poor in english,and so in my VB.NET.
Thank you for your reversion,
My purpose is :add ( or remove) a member(s) into a WorkGroup in my PC.
And it can browse only in hereinafter codes,But it is not work with
Active Diretory nymphlike,but you may also be successful to resolve this problem with Active Diretory .
Dim Computer
Dim Group
Dim User

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

For Each User In Group.Members
Console.WriteLine(User.Name)
Next
 
Hi Chen
Do you mean userGroup as in one PC ( like admnistrator group for example )
or workgrop the newwork term as you need to add a PC not a use to that
Mohamed Mahfouz
 
Yes,what you said is what I wanted to say.
have you have ways to resolve it?
 
PS:
The workgroup I want to operate is on global computer.
 

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