AceType Enumeration
TOC
Collapse the table of content
Expand the table of content

AceType Enumeration

Defines the available access control entry (ACE) types.

Namespace:  System.Security.AccessControl
Assembly:  mscorlib (in mscorlib.dll)

public enum AceType

Member nameDescription
AccessAllowedAllows access to an object for a specific trustee identified by an IdentityReference object.
AccessDeniedDenies access to an object for a specific trustee identified by an IdentityReference object.
SystemAuditCauses 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.
SystemAlarmReserved for future use.
AccessAllowedCompoundDefined but never used. Included here for completeness.
AccessAllowedObjectAllows 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.
AccessDeniedObjectDenies 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.
SystemAuditObjectCauses 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.
SystemAlarmObjectReserved for future use.
AccessAllowedCallbackAllows 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.
AccessDeniedCallbackDenies 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.
AccessAllowedCallbackObjectAllows 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.
AccessDeniedCallbackObjectDenies 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.
SystemAuditCallbackCauses 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.
SystemAlarmCallbackReserved for future use.
SystemAuditCallbackObjectCauses 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.
SystemAlarmCallbackObjectReserved for future use.
MaxDefinedAceTypeTracks 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.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0

Community Additions

ADD
Show:
© 2016 Microsoft