SYSTEM_AUDIT_ACE
The SYSTEM_AUDIT_ACE
structure defines an access-control entry (ACE) for the system access-control
list (ACL) specifying what types of access cause system-level notifications. A
system-audit ACE causes an audit message to be logged when a specified user or
group attempts to gain access to an object. The user or group is identified by
a security identifier (SID).
typedef struct _SYSTEM_AUDIT_ACE { // sada
ACE_HEADER Header;
ACCESS_MASK Mask;
DWORD SidStart;
} SYSTEM_AUDIT_ACE;
Members
Header
Specifies an ACE_HEADER
Mask
Specifies an ACCESS_MASK
SidStart
Specifies a
SID. An access attempt of a kind specified by the Mask member by any
user or group whose SID matches the SidStart member causes the system to
generate an audit message. If an application does not specify a SID for this
member, audit messages are generated for the specified access rights for all
users and groups.
Remarks
Audit
messages are stored in an event log that can be manipulated by using the Win32
API event-logging functions or by using Windows NT Event Viewer (EVENTVWR.EXE).
ACE
structures should be aligned on doubleword boundaries. All Windows
memory-management functions return doubleword-aligned handles to memory.
See Also