2.2.5.20 Site Audit Mask Result Set

The Site Audit Mask Result Set contains the context-sensitive identifier for a specified object, and the Audit Flags (section 2.2.2.1) set and inherited on that object. The Site Audit Mask Result Set is defined using T-SQL syntax, as follows.

 {Id}                           uniqueidentifier,
 {AuditFlags}                   int,
 {InheritAuditFlags}            int,
 {SiteGlobalAuditMask}          int;

{Id}: The identifier for the object. The Audit Item Type (section 2.2.3.2) of the object determines the type of identifier used for this value (for example, a Site Identifier (section 2.2.1.11) or a List Identifier (section 2.2.1.5) ). If an object of the specified Audit Item Type at the specified location is found, the value MUST NOT be NULL; otherwise, it MUST be NULL.

{AuditFlags}: An Audit Flags value specifying the operations to be audited that are set directly on the specified object. If an object of the specified Audit Item Type at the specified location is not found, the value MUST be NULL.

{InheritAuditFlags}: An Audit Flags value specifying the operations to be audited on the specified object that are inherited from a contained document. If an object of the specified Audit Item Type at the specified location is not found, the value MUST be NULL.

{SiteGlobalAuditMask}: An Audit Flags value specifying the operations to be audited on the specified object that are applied globally within the specified site collection.