14 public SystemAcl(
bool isContainer,
bool isDS,
int capacity)
26 public SystemAcl(
bool isContainer,
bool isDS,
byte revision,
int capacity)
27 : base(isContainer, isDS, revision, capacity)
38 : this(isContainer, isDS, rawAcl, trusted: false)
42 internal SystemAcl(
bool isContainer,
bool isDS,
RawAcl rawAcl,
bool trusted)
43 : base(isContainer, isDS, rawAcl, trusted, isDacl: false)
55 CheckFlags(inheritanceFlags, propagationFlags);
67 CheckFlags(inheritanceFlags, propagationFlags);
118 CheckFlags(inheritanceFlags, propagationFlags);
119 AddQualifiedAce(sid,
AceQualifier.SystemAudit, accessMask,
GenericAce.AceFlagsFromAuditFlags(auditFlags) |
GenericAce.AceFlagsFromInheritanceFlags(inheritanceFlags, propagationFlags), objectFlags, objectType, inheritedObjectType);
145 CheckFlags(inheritanceFlags, propagationFlags);
146 SetQualifiedAce(sid,
AceQualifier.SystemAudit, accessMask,
GenericAce.AceFlagsFromAuditFlags(auditFlags) |
GenericAce.AceFlagsFromInheritanceFlags(inheritanceFlags, propagationFlags), objectFlags, objectType, inheritedObjectType);
176 return RemoveQualifiedAces(sid,
AceQualifier.SystemAudit, accessMask,
GenericAce.AceFlagsFromAuditFlags(auditFlags) |
GenericAce.AceFlagsFromInheritanceFlags(inheritanceFlags, propagationFlags), saclSemantics:
true, objectFlags, objectType, inheritedObjectType);
202 RemoveQualifiedAcesSpecific(sid,
AceQualifier.SystemAudit, accessMask,
GenericAce.AceFlagsFromAuditFlags(auditFlags) |
GenericAce.AceFlagsFromInheritanceFlags(inheritanceFlags, propagationFlags), objectFlags, objectType, inheritedObjectType);
void AddAudit(SecurityIdentifier sid, ObjectAuditRule rule)
Adds an audit rule to the current T:System.Security.AccessControl.SystemAcl object.
PropagationFlags
Specifies how Access Control Entries (ACEs) are propagated to child objects. These flags are signific...
internal int AccessMask
Gets the access mask for this rule.
bool RemoveAudit(AuditFlags auditFlags, SecurityIdentifier sid, int accessMask, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags)
Removes the specified audit rule from the current T:System.Security.AccessControl....
Represents a combination of a user's identity, an access mask, and audit conditions....
bool RemoveAudit(AuditFlags auditFlags, SecurityIdentifier sid, int accessMask, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, ObjectAceFlags objectFlags, Guid objectType, Guid inheritedObjectType)
Removes the specified audit rule from the current T:System.Security.AccessControl....
Represents an Access Control Entry (ACE), and is the base class for all other ACE classes.
ObjectAceFlags ObjectFlags
P:System.Security.AccessControl.ObjectAuditRule.ObjectType and P:System.Security.AccessControl....
void SetAudit(SecurityIdentifier sid, ObjectAuditRule rule)
Sets the specified audit rule for the specified T:System.Security.Principal.SecurityIdentifier object...
Represents an Access Control List (ACL).
Provides information about, and means to manipulate, the current environment and platform....
Represents a globally unique identifier (GUID).To browse the .NET Framework source code for this type...
AuditFlags AuditFlags
Gets the audit flags for this audit rule.
void SetAudit(AuditFlags auditFlags, SecurityIdentifier sid, int accessMask, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, ObjectAceFlags objectFlags, Guid objectType, Guid inheritedObjectType)
Sets the specified audit rule for the specified T:System.Security.Principal.SecurityIdentifier object...
SystemAcl(bool isContainer, bool isDS, RawAcl rawAcl)
Initializes a new instance of the T:System.Security.AccessControl.SystemAcl class with the specified ...
Guid InheritedObjectType
Gets the type of child object that can inherit the T:System.Security.AccessControl....
Represents an access control list (ACL) and is the base class for the T:System.Security....
void AddAudit(AuditFlags auditFlags, SecurityIdentifier sid, int accessMask, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, ObjectAceFlags objectFlags, Guid objectType, Guid inheritedObjectType)
Adds an audit rule with the specified settings to the current T:System.Security.AccessControl....
void RemoveAuditSpecific(SecurityIdentifier sid, ObjectAuditRule rule)
Removes the specified audit rule from the current T:System.Security.AccessControl....
static readonly byte AclRevisionDS
The revision level of the current T:System.Security.AccessControl.GenericAcl. This value is returned ...
void AddAudit(AuditFlags auditFlags, SecurityIdentifier sid, int accessMask, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags)
Adds an audit rule to the current T:System.Security.AccessControl.SystemAcl object.
InheritanceFlags InheritanceFlags
Gets the value of flags that determine how this rule is inherited by child objects.
void RemoveAuditSpecific(AuditFlags auditFlags, SecurityIdentifier sid, int accessMask, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags)
Removes the specified audit rule from the current T:System.Security.AccessControl....
Represents an access control list (ACL) and is the base class for the T:System.Security....
AceQualifier
Specifies the function of an access control entry (ACE).
Represents a security identifier (SID) and provides marshaling and comparison operations for SIDs.
Guid ObjectType
Gets the type of object to which the T:System.Security.AccessControl.ObjectAuditRule applies.
void RemoveAuditSpecific(AuditFlags auditFlags, SecurityIdentifier sid, int accessMask, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, ObjectAceFlags objectFlags, Guid objectType, Guid inheritedObjectType)
Removes the specified audit rule from the current T:System.Security.AccessControl....
static readonly byte AclRevision
The revision level of the current T:System.Security.AccessControl.GenericAcl. This value is returned ...
The exception that is thrown when a method call is invalid for the object's current state.
static readonly Guid Empty
A read-only instance of the T:System.Guid structure whose value is all zeros.
SystemAcl(bool isContainer, bool isDS, byte revision, int capacity)
Initializes a new instance of the T:System.Security.AccessControl.SystemAcl class with the specified ...
InheritanceFlags
Inheritance flags specify the semantics of inheritance for access control entries (ACEs).
void SetAudit(AuditFlags auditFlags, SecurityIdentifier sid, int accessMask, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags)
Sets the specified audit rule for the specified T:System.Security.Principal.SecurityIdentifier object...
ObjectAceFlags
Specifies the presence of object types for Access Control Entries (ACEs).
Represents a System Access Control List (SACL).
bool RemoveAudit(SecurityIdentifier sid, ObjectAuditRule rule)
Removes the specified audit rule from the current T:System.Security.AccessControl....
PropagationFlags PropagationFlags
Gets the value of the propagation flags, which determine how inheritance of this rule is propagated t...
AuditFlags
Specifies the conditions for auditing attempts to access a securable object.