Table

OMUserRoleOrganization

User role organization assignment

Links a user's security role assignment to an internal organization within a hierarchy. It points to the hierarchy, internal organization, security role and role assignment rule, and names the user.

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

Fields (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
OMHierarchyTypePoints to the organization hierarchy.Int64
RefRecId
NoOMHierarchyType.RecIdSystemSecurityUserRoleOrganizationEntity
OMInternalOrganizationPoints to the internal organization.Int64
RefRecId
NoOMInternalOrganization.RecIdSystemSecurityUserRoleOrganizationEntity
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
SecurityRolePoints to the security role.Int64
RefRecId
NoSecurityRole.RecIdSystemSecurityUserRoleOrganizationEntity
SecurityRoleAssignmentRulePoints to the security role assignment rule.Int64
RefRecId
NoSecurityRoleAssignmentRule.RecIdNone
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
UserThe user ID, related to the user record.String
UserId
NoSystemSecurityUserRoleOrganizationEntityUserLegalEntityMapBIEntity

Indexes (5)

Relations (5)

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

  • OMHierarchyType → OMHierarchyType

    Join on OMHierarchyType = OMHierarchyType.RecId

    Many OMUserRoleOrganization records → zero or one OMHierarchyType record

  • OrganizationAssignment → OMInternalOrganization

    Join on OMInternalOrganization = OMInternalOrganization.RecId

    Many OMUserRoleOrganization records → zero or one OMInternalOrganization record

  • SecurityRole → SecurityRole

    Join on SecurityRole = SecurityRole.RecId

    Many OMUserRoleOrganization records → zero or one SecurityRole record

  • SecurityRoleAssignmentRule → SecurityRoleAssignmentRule

    Join on SecurityRoleAssignmentRule = SecurityRoleAssignmentRule.RecId

    Many OMUserRoleOrganization records → zero or one SecurityRoleAssignmentRule record

  • UserInfo → UserInfo

    Join on User = UserInfo.id

    Many OMUserRoleOrganization records → zero or one UserInfo record

Get this data out

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

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

Email sales@drdynamics.co.uk