編輯

共用方式為


ActiveDirectorySecurity.AddAccessRule(ActiveDirectoryAccessRule) Method

Definition

Adds an access rule to the DACL of an object.

public:
 void AddAccessRule(System::DirectoryServices::ActiveDirectoryAccessRule ^ rule);
public void AddAccessRule (System.DirectoryServices.ActiveDirectoryAccessRule rule);
override this.AddAccessRule : System.DirectoryServices.ActiveDirectoryAccessRule -> unit
Public Sub AddAccessRule (rule As ActiveDirectoryAccessRule)

Parameters

rule
ActiveDirectoryAccessRule

The AddAccessRule(ObjectAccessRule) object to which this operation applies.

Applies to

See also