This documentation is archived and is not being maintained.

ActiveDirectorySecurity.AddAccessRule Method

Adds an access rule to DACL of an object.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Public method AddAccessRule(ActiveDirectoryAccessRule) Adds an access rule to the DACL of an object.
Protected method AddAccessRule(ObjectAccessRule) Adds the specified access rule to the Discretionary Access Control List (DACL) associated with this DirectoryObjectSecurity object. (Inherited from DirectoryObjectSecurity.)