Click or drag to resize

Audit Class

Track changes to records for analysis, record keeping, and compliance.
Inheritance Hierarchy
SystemObject
  Entity
    Crm.MSCrmServiceAudit

Namespace: Crm.MSCrmService
Assembly: Scripting (in Scripting.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class Audit : Entity, INotifyPropertyChanging, 
	INotifyPropertyChanged

The Audit type exposes the following members.

Constructors
 NameDescription
Public methodAudit Default Constructor.
Top
Properties
 NameDescription
Public propertyAction Actions the user can perform that cause a change
Public propertyAttributeMask Contains a CSV of the ColumnNumber metadata property of attributes
Public propertyAttributes
(Inherited from Entity)
Public propertyAuditId Unique identifier of the auditing instance
Public propertyCallingUserId Unique identifier of the calling user in case of an impersonated call
Public propertyCreatedOn Date and time when the audit record was created.
Public propertyEntityState
(Inherited from Entity)
Public propertyExtensionData
(Inherited from Entity)
Public propertyFormattedValues
(Inherited from Entity)
Public propertyHasLazyFileAttribute
(Inherited from Entity)
Public propertyId
(Overrides Entity.Id)
Public propertyItem
(Inherited from Entity)
Public propertyKeyAttributes
(Inherited from Entity)
Public propertyLazyFileAttributeKey
(Inherited from Entity)
Public propertyLazyFileAttributeValue
(Inherited from Entity)
Public propertyLazyFileSizeAttributeKey
(Inherited from Entity)
Public propertyLazyFileSizeAttributeValue
(Inherited from Entity)
Public propertylk_audit_callinguserid N:1 lk_audit_callinguserid
Public propertylk_audit_userid N:1 lk_audit_userid
Public propertyLogicalName
(Inherited from Entity)
Public propertyObjectId Unique identifier of the record that is being audited
Public propertyOperation The action that causes the audit--it will be create, delete, or update
Public propertyRegardingObjectId Unique identifier of the object with which the record is associated.
Public propertyRelatedEntities
(Inherited from Entity)
Public propertyRowVersion
(Inherited from Entity)
Public propertyTransactionId Unique identifier for multiple changes that are part of a single operation; this field contains the same GUID for all the audit rows generated in a single transaction
Public propertyUserAdditionalInfo Additional information associated to the user who caused the change.
Public propertyuserentityinstancedata_audit 1:N userentityinstancedata_audit
Public propertyUserId Unique identifier of the user who caused a change
Top
Methods
 NameDescription
Public methodContains
(Inherited from Entity)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetAttributeValue``1
(Inherited from Entity)
Protected methodGetFormattedAttributeValue
(Inherited from Entity)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Protected methodGetRelatedEntities``1
(Inherited from Entity)
Protected methodGetRelatedEntity``1
(Inherited from Entity)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodSetAttributeValue
(Inherited from Entity)
Protected methodSetRelatedEntities``1
(Inherited from Entity)
Protected methodSetRelatedEntity``1
(Inherited from Entity)
Public methodToEntity``1
(Inherited from Entity)
Public methodToEntityReference
(Inherited from Entity)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTryGetAttributeValue``1
(Inherited from Entity)
Top
Events
Fields
See Also