Table

UserSecGovUserRoleChangeLog

User role change log

Logs changes to the security roles of users. Each row records the user, the role, whether it was added or removed, and who made the change. It can also hold the internal organisation involved.

Table name
UserSecGovUserRoleChangeLog
Module
System administration
Table group
Miscellaneous
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
UserSecGov

Fields (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AddRemoveShows whether the role was added or removed.Enum
AddRemove (enum)
NoNone
ChangedByUser who made the change.String
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
OMInternalOrganizationRecord ID of the internal organisation linked to the role change.Int64
RefRecId
NoNone
OMInternalOrganizationIdNumber of the organisation linked to the role change.String (30)
OMOperatingUnitNumber
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SecurityRoleRecord ID of the security role that changed.Int64
RefRecId
YesSecurityRole.RecIdNone
SecurityRoleNameName of the security role at the time of the change.String
SecurityRoleName
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
UserIdUser whose role assignment changed.String
UserId
YesNone

Indexes (2)

Relations (2)

Each relation joins UserSecGovUserRoleChangeLog to another table on the fields shown.

  • SecurityRole → SecurityRole

    Join on SecurityRole = SecurityRole.RecId

    Many UserSecGovUserRoleChangeLog records → zero or one SecurityRole record

  • UserInfo → UserInfo

    Join on UserId = UserInfo.Id

    Many UserSecGovUserRoleChangeLog records → exactly one UserInfo record

Get this data out

No public entity reads from UserSecGovUserRoleChangeLog. Its data is only reachable through the application, a custom entity or a database export.

Need help with UserSecGovUserRoleChangeLog in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk