How can I change / check the permissions (Read, Write,...) for a specific folder for the NETWORK SERVICE account with C# porgrammatically ?
views:
220answers:
1
A:
There's no generic "find all permissions that this user has on all objects on this filesystem/system/domain function".
For objects where the ACLs are exposed to .Net framework, they typically expose a "GetAccessControl()" method, from which you can enumerate the AccessRules (via "GetAccessRules()"), and find those rules which apply to NETWORK SERVICE
Damien_The_Unbeliever
2010-03-24 10:37:24