FileSystemSecurity.SetAccessRule Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Namespace:   System.Security.AccessControl
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_protmethodSetAccessRule(AccessRule)

Removes all access rules that contain the same security identifier and qualifier as the specified access rule in the Discretionary Access Control List (DACL) associated with this CommonObjectSecurity object and then adds the specified access rule.(Inherited from CommonObjectSecurity.)

System_CAPS_pubmethodSetAccessRule(FileSystemAccessRule)

Sets the specified access control list (ACL) permission for the current file or directory.

Return to top
Show: