Audit Entity Metadata

[Applies to: Microsoft Dynamics CRM 2011]

The following information is for the audit entity in a default, uncustomized installation of Microsoft Dynamics CRM. The schema name and early bound class for this entity is Audit.

To view the entity metadata for your organization, install the Metadata Browser solution described in Browse the Metadata for Your Organization.

In This Topic

Entity Metadata

The following table shows the metadata for the audit entity.

 

Entity metadata property Value

OTC

4567

EntityLogicalName

audit

DisplayName

Auditing

DisplayCollectionName

Audits

IsCustomizable

False

OwnershipType

None

AutoRouteToOwnerQueue

False

CanBeInManyToMany

False

CanBePrimaryEntityInRelationship

False

CanBeRelatedEntityInRelationship

False

CanCreateAttributes

False

CanCreateCharts

False

CanCreateForms

False

CanCreateViews

False

CanModifyAdditionalSettings

False

CanTriggerWorkflow

False

IsActivity

False

IsActivityParty

False

IsAuditEnabled

False

IsAvailableOffline

False

IsChildEntity

False

IsConnectionsEnabled

canmodifyconnectionsettings

IsCustomEntity

False

IsDocumentManagementEnabled

False

IsDuplicateDetectionEnabled

False

IsEnabledForCharts

False

IsImportable

False

IsIntersect

False

IsMailMergeEnabled

False

IsManaged

True

IsMappable

False

IsReadingPaneEnabled

True

IsRenameable

False

IsValidForAdvancedFind

False

IsValidForQueue

False

IsVisibleInMobile

False

PrimaryIdAttribute

auditid

PrimaryNameAttribute

ReportViewName

Description

Track changes to records for analysis, record keeping, and compliance.

Privilege Metadata

There is no privilege metadata for the audit entity.

Attribute Metadata

The following table shows the attribute metadata for the audit entity.

 

LogicalName SchemaName Type RequiredLevel IsValidForCreate IsValidForRead IsValidForUpdate CanBeSecuredForCreate CanBeSecuredForRead CanBeSecuredForUpdate IsCustomizable IsAuditEnabled IsManaged IsPrimaryId IsPrimaryName IsRenameable IsSecured IsValidForAdvancedFind DisplayName DeprecatedVersion Description

action

Action

Picklist

ApplicationRequired

False

True

False

False

False

False

False

True

True

False

False

False

False

True

Event

Actions the user can perform that cause a change

attributemask

AttributeMask

Memo

None

False

True

False

False

False

False

False

True

True

False

False

False

False

False

Changed Field

Contains a CSV of the ColumnNumber metadata property of attributes

auditid

AuditId

Uniqueidentifier

SystemRequired

False

True

False

False

False

False

False

False

True

True

False

False

False

True

Record Id

Unique identifier of the auditing instance

callinguserid

CallingUserId

Lookup

None

False

True

False

False

False

False

False

True

True

False

False

False

False

True

Calling User

Unique identifier of the calling user in case of an impersonated call

changedata

ChangeData

Memo

None

False

False

False

False

False

False

False

True

True

False

False

False

False

False

Change Data

Contains a CSV of old values of all the attributes whose IsAuditEnabled property is True and are being changed

createdon

CreatedOn

DateTime

SystemRequired

False

True

False

False

False

False

False

False

True

False

False

False

False

True

Changed Date

Date and time when the audit record was created.

objectid

ObjectId

Lookup

SystemRequired

False

True

False

False

False

False

False

True

True

False

False

False

False

False

Record

Unique identifier of the record that is being audited

operation

Operation

Picklist

SystemRequired

False

True

False

False

False

False

False

True

True

False

False

False

False

True

Operation

The action that causes the audit--it will be create, delete, or update

transactionid

TransactionId

Uniqueidentifier

SystemRequired

False

True

False

False

False

False

False

False

True

False

False

False

False

True

Transaction Id

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

userid

UserId

Lookup

SystemRequired

False

True

False

False

False

False

False

True

True

False

False

False

False

True

Changed By

Unique identifier of the user who caused a change

One-to-Many Relationships

The following table shows the entities that are the referencing entity in a one-to-many relationship for the audit entity.

 

Relationship schema name Referencing entity

userentityinstancedata_audit

userentityinstancedata

Many-to-Many Relationships

There are no default many-to-many relationships for the audit entity.

Many-to-One Relationships

The following table shows the entities that are the referenced entity in a many-to-one relationship for the audit entity.

 

Relationship schema name Referenced entity

lk_audit_userid

systemuser

lk_audit_callinguserid

systemuser

See Also

Microsoft Dynamics CRM 2011
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.

Community Additions

Show: