how to setting the rights of directorys?

  • Thread starter Thread starter thomas.hauser
  • Start date Start date
T

thomas.hauser

hello everyone,

I'm trying to set the rights of a few directory's on a server
(win2000-network) programmatically.
How is it possible to to set the rights for users, for instance the
administrator-group of the active directory?

I hope it is possible....

Thanks for suggestions

Best regards

Tom
 
Tom,
The new System.Security.AccessControl namespace in .NET 2.0 (VS 2005) allows
you to set rights on directorys very easily.

http://msdn2.microsoft.com/en-us/library/system.security.accesscontrol.aspx

http://msdn.microsoft.com/msdnmag/issues/04/11/AccessControlinNET/default.aspx

http://msdn.microsoft.com/msdnmag/issues/05/01/SecurityBriefs/default.aspx

--
Hope this helps
Jay [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net


| hello everyone,
|
| I'm trying to set the rights of a few directory's on a server
| (win2000-network) programmatically.
| How is it possible to to set the rights for users, for instance the
| administrator-group of the active directory?
|
| I hope it is possible....
|
| Thanks for suggestions
|
| Best regards
|
| Tom
|
 
Back
Top