Modifier

Partager via


CompoundAce(AceFlags, Int32, CompoundAceType, SecurityIdentifier) Constructor

Definition

Initializes a new instance of the CompoundAce class.

public:
 CompoundAce(System::Security::AccessControl::AceFlags flags, int accessMask, System::Security::AccessControl::CompoundAceType compoundAceType, System::Security::Principal::SecurityIdentifier ^ sid);
public CompoundAce (System.Security.AccessControl.AceFlags flags, int accessMask, System.Security.AccessControl.CompoundAceType compoundAceType, System.Security.Principal.SecurityIdentifier sid);
new System.Security.AccessControl.CompoundAce : System.Security.AccessControl.AceFlags * int * System.Security.AccessControl.CompoundAceType * System.Security.Principal.SecurityIdentifier -> System.Security.AccessControl.CompoundAce
Public Sub New (flags As AceFlags, accessMask As Integer, compoundAceType As CompoundAceType, sid As SecurityIdentifier)

Parameters

flags
AceFlags

Contains flags that specify information about the inheritance, inheritance propagation, and auditing conditions for the new Access Control Entry (ACE).

accessMask
Int32

The access mask for the ACE.

compoundAceType
CompoundAceType

A value from the CompoundAceType enumeration.

sid
SecurityIdentifier

The SecurityIdentifier associated with the new ACE.

Applies to