Local Users and Groups

  • Thread starter Thread starter Jason
  • Start date Start date
J

Jason

Hi

How would i programmatically create a windows user group? i.e. Right mouse
click on my computer -> System Tools -> Local Users and Groups -> Group ->
New group. How would i create such a group in C#?

once done with the above, how would i give the above group access to a
particular path in registry?

Thanks
Jason
 
Refer System.DirectoryServices in MSDN. Thats the namespace which will do
the job you are looking for.
 

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