This topic has not yet been rated - Rate this topic

AceType Enumeration

Defines the available access control entry (ACE) types.

Namespace:  System.Security.AccessControl
Assembly:  mscorlib (in mscorlib.dll)
public enum AceType
Member name Description
AccessAllowed Allows access to an object for a specific trustee identified by an IdentityReference object.
AccessDenied Denies access to an object for a specific trustee identified by an IdentityReference object.
SystemAudit Causes an audit message to be logged when a specified trustee attempts to gain access to an object. The trustee is identified by an IdentityReference object.
SystemAlarm Reserved for future use.
AccessAllowedCompound Defined but never used. Included here for completeness.
AccessAllowedObject Allows access to an object, property set, or property. The ACE contains a set of access rights, a GUID that identifies the type of object, and an IdentityReference object that identifies the trustee to whom the system will grant access. The ACE also contains a GUID and a set of flags that control inheritance of the ACE by child objects.
AccessDeniedObject Denies access to an object, property set, or property. The ACE contains a set of access rights, a GUID that identifies the type of object, and an IdentityReference object that identifies the trustee to whom the system will grant access. The ACE also contains a GUID and a set of flags that control inheritance of the ACE by child objects.
SystemAuditObject Causes an audit message to be logged when a specified trustee attempts to gain access to an object or subobjects such as property sets or properties. The ACE contains a set of access rights, a GUID that identifies the type of object or subobject, and an IdentityReference object that identifies the trustee for whom the system will audit access. The ACE also contains a GUID and a set of flags that control inheritance of the ACE by child objects.
SystemAlarmObject Reserved for future use.
AccessAllowedCallback Allows access to an object for a specific trustee identified by an IdentityReference object. This ACE type may contain optional callback data. The callback data is a resource manager–specific BLOB that is not interpreted.
AccessDeniedCallback Denies access to an object for a specific trustee identified by an IdentityReference object. This ACE type can contain optional callback data. The callback data is a resource manager–specific BLOB that is not interpreted.
AccessAllowedCallbackObject Allows access to an object, property set, or property. The ACE contains a set of access rights, a GUID that identifies the type of object, and an IdentityReference object that identifies the trustee to whom the system will grant access. The ACE also contains a GUID and a set of flags that control inheritance of the ACE by child objects. This ACE type may contain optional callback data. The callback data is a resource manager–specific BLOB that is not interpreted.
AccessDeniedCallbackObject Denies access to an object, property set, or property. The ACE contains a set of access rights, a GUID that identifies the type of object, and an IdentityReference object that identifies the trustee to whom the system will grant access. The ACE also contains a GUID and a set of flags that control inheritance of the ACE by child objects. This ACE type can contain optional callback data. The callback data is a resource manager–specific BLOB that is not interpreted.
SystemAuditCallback Causes an audit message to be logged when a specified trustee attempts to gain access to an object. The trustee is identified by an IdentityReference object. This ACE type can contain optional callback data. The callback data is a resource manager–specific BLOB that is not interpreted.
SystemAlarmCallback Reserved for future use.
SystemAuditCallbackObject Causes an audit message to be logged when a specified trustee attempts to gain access to an object or subobjects such as property sets or properties. The ACE contains a set of access rights, a GUID that identifies the type of object or subobject, and an IdentityReference object that identifies the trustee for whom the system will audit access. The ACE also contains a GUID and a set of flags that control inheritance of the ACE by child objects. This ACE type can contain optional callback data. The callback data is a resource manager–specific BLOB that is not interpreted.
SystemAlarmCallbackObject Reserved for future use.
MaxDefinedAceType Tracks the maximum defined ACE type in the enumeration.

MaxDefinedAceType is the largest currently defined ACE type. Custom ACE types must be defined to have values larger than MaxDefinedAceType.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ