Edit

Share via


CommonAce Constructor

Definition

Initializes a new instance of the CommonAce class.

public:
 CommonAce(System::Security::AccessControl::AceFlags flags, System::Security::AccessControl::AceQualifier qualifier, int accessMask, System::Security::Principal::SecurityIdentifier ^ sid, bool isCallback, cli::array <System::Byte> ^ opaque);
public CommonAce (System.Security.AccessControl.AceFlags flags, System.Security.AccessControl.AceQualifier qualifier, int accessMask, System.Security.Principal.SecurityIdentifier sid, bool isCallback, byte[]? opaque);
public CommonAce (System.Security.AccessControl.AceFlags flags, System.Security.AccessControl.AceQualifier qualifier, int accessMask, System.Security.Principal.SecurityIdentifier sid, bool isCallback, byte[] opaque);
new System.Security.AccessControl.CommonAce : System.Security.AccessControl.AceFlags * System.Security.AccessControl.AceQualifier * int * System.Security.Principal.SecurityIdentifier * bool * byte[] -> System.Security.AccessControl.CommonAce
Public Sub New (flags As AceFlags, qualifier As AceQualifier, accessMask As Integer, sid As SecurityIdentifier, isCallback As Boolean, opaque As Byte())

Parameters

flags
AceFlags

Flags that specify information about the inheritance, inheritance propagation, and auditing conditions for the new access control entry (ACE).

qualifier
AceQualifier

The use of the new ACE.

accessMask
Int32

The access mask for the ACE.

sid
SecurityIdentifier

The SecurityIdentifier associated with the new ACE.

isCallback
Boolean

true to specify that the new ACE is a callback type ACE.

opaque
Byte[]

Opaque data associated with the new ACE. Opaque data is allowed only for callback ACE types. The length of this array must not be greater than the return value of the MaxOpaqueLength(Boolean) method.

Applies to