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.
 
Back
Top