SPAuditMaskType enumeration

Specifies what kind of actions and events are being audited for a particular site collection, site, list, folder, or list item object.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public enum SPAuditMaskType

Member nameDescription
NoneNo events or actions.
CheckOutCheck out of the object.
CheckInCheck in of the object.
ViewViewing of the object by a user.
DeleteDeletion of the object.
UpdateUpdate of the object.
ProfileChangeChange of a profile.
ChildDeleteDeletion of one of the object's child objects.
SchemaChangeChange of the object's schema.
SecurityChangeChange in a security configuration for the object.
UndeleteReversal of the deletion of the object.
WorkflowUse of the object in a workflow task.
CopyCopying the object.
MoveMove of the object.
SearchSearch of the object.
AllAll types of events and actions.

This enumeration is primarily used to provide values for the SPAudit.AuditFlags property.

Contrast this enumeration with SPAuditEventType, which enumerates events and actions that are potentially auditable.

Most values are relevant only to certain types of objects. For example, a site collection cannot be checked in or checked out.