SPAuditEntry properties

The SPAuditEntry type exposes the following members.

Properties

  Name Description
Public property AppPrincipalId Gets the ID of the app principal who caused the event.
Public property DocLocation Gets the location of an audited object at the time of the audited event.
Public property Event Gets a value that identifies the type of event.
Public property EventData Gets data, in XML markup, that is specific to the type of event identified in the Event property.
Public property EventName Gets the name of the type of a custom audited event.
Public property EventSource A value that indicates whether the event occurred as a result of user action in the SharePoint Foundation user interface (UI) or programmatically.
Public property ItemId Gets the SharePoint Foundation GUID of the audited object.
Public property ItemType Gets the type of object whose event is represented by the SPAuditEntry.
Public property LocationType Gets a value that indicates where the event occurred.
Public property MachineIP Gets the IP address of the computer that initiated the event.
Public property MachineName Gets the name of the computer that initiated the event.
Public property Occurred Gets the date and time of the audited event expressed in Coordinated Universal Time (UTC).
Public property SiteId Gets the SharePoint Foundation GUID of the site collection.
Public property SourceName Gets the name of the application that caused the event and wrote the SPAuditEntry data to the SharePoint database.
Public property UserId Gets the ID of the user who caused the event.

Top

See also

Reference

SPAuditEntry class

Microsoft.SharePoint namespace