Table

DirPersonUser

User to person relationship

Links a system user to a person. The key is the user plus the date from which the link is valid, so a user can be linked to different people over time. Each record also has an end date.

Table name
DirPersonUser
Module
Global address book
Table group
Main
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
ValidFromIdx
Key fields
User, ValidFrom
Model
Directory

Fields (9)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
UserID of the system user. Part of the key.String
UserId
YesDirPersonUserEntityTrvExpMobileUserDisplayInfoEntityEssWorkerDetailEntityand 1 more
ValidFromDate and time from which the link is valid. Part of the key.UtcDateTime
ValidFromDateTime
NoDirPersonUserEntityHCMCourseParticipantStatusByEmailEntityHcmWorkerEntityand 4 more
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PersonPartyPoints to the person linked to the user.Int64
DirPersonRecId
YesDirPerson.RecIdDirPersonUserEntityEssWorkflowWorkItemEntityHRAdminPendingHireActionsEntity
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
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
ValidToDate and time at which the link stops being valid.UtcDateTime
ValidToDateTime
NoDirPersonUserEntityHCMCourseParticipantStatusByEmailEntityHcmWorkerEntityand 4 more

Indexes (2)

Relations (2)

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

  • DirPerson → DirPerson

    Join on PersonParty = DirPerson.RecId

    Many DirPersonUser records → exactly one DirPerson record

  • UserInfo → UserInfo

    Join on User = UserInfo.id

    Many DirPersonUser records → exactly one UserInfo record

Get this data out

Tables are not exposed directly. These public entities read from DirPersonUser; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk