Table

UserSecGovTemporaryRoleUser

Temporary role user security

Holds a period in which a user has temporary security roles. The key is the user ID plus the start date and time. Each row has a status, a planned period, an actual active period and a type of Merge or Replace.

Table name
UserSecGovTemporaryRoleUser
Module
System administration
Table group
Miscellaneous
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
ParamsIdx
Key fields
UserId, FromDateTime
Model
UserSecGov

Fields (17)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
UserIdUser who receives the temporary roles.String
UserId
YesNone
FromDateTimePlanned start of the temporary period, in UTC.UtcDateTime
UserSecGovTemporaryRoleDateTime
YesNone
ActiveFromDateTimeDate and time, in UTC, when the period actually became active.UtcDateTime
UserSecGovTemporaryRoleDateTime
NoNone
ActiveToDateTimeDate and time, in UTC, when the active period ended.UtcDateTime
UserSecGovTemporaryRoleDateTime
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DescriptionShort description of the temporary role period.String (60)
Description
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
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
StatusStage of the temporary role period: draft, planned, active, finished or cancelled.Enum
UserSecGovTemporaryRoleUserStatus (enum)
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
TemporaryRoleUserTypeKind of temporary assignment: Merge or Replace.Enum
UserSecGovTemporaryRoleUserType (enum)
NoNone
ToDateTimePlanned end of the temporary period, in UTC.UtcDateTime
UserSecGovTemporaryRoleDateTime
YesNone

Indexes (1)

Relations (1)

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

  • UserId → UserInfo

    Join on UserId = UserInfo.id, UserInfo.isMicrosoftAccount = null

    Many UserSecGovTemporaryRoleUser records → zero or one UserInfo record

Get this data out

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

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

Email sales@drdynamics.co.uk