Edit

Kongsi melalui


CommonSecurityDescriptor.AddSystemAcl(Byte, Int32) Method

Definition

Sets the SystemAcl property for this CommonSecurityDescriptor instance and sets the SystemAclPresent flag.

public:
 void AddSystemAcl(System::Byte revision, int trusted);
public void AddSystemAcl (byte revision, int trusted);
member this.AddSystemAcl : byte * int -> unit
Public Sub AddSystemAcl (revision As Byte, trusted As Integer)

Parameters

revision
Byte

The revision level of the new SystemAcl object.

trusted
Int32

The number of Access Control Entries (ACEs) this SystemAcl object can contain. This number should only be used as a hint.

Remarks

The constructor for the SystemAcl uses the IsContainer and IsDS properties for this CommonSecurityDescriptor.

Applies to