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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
OMHierarchyTypePoints to the organization hierarchy. | Int64RefRecId | No | OMHierarchyType.RecId | SystemSecurityUserRoleOrganizationEntity |
OMInternalOrganizationPoints to the internal organization. | Int64RefRecId | No | OMInternalOrganization.RecId | SystemSecurityUserRoleOrganizationEntity |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SecurityRolePoints to the security role. | Int64RefRecId | No | SecurityRole.RecId | SystemSecurityUserRoleOrganizationEntity |
SecurityRoleAssignmentRulePoints to the security role assignment rule. | Int64RefRecId | No | SecurityRoleAssignmentRule.RecId | None |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
UserThe user ID, related to the user record. | StringUserId | No | SystemSecurityUserRoleOrganizationEntityUserLegalEntityMapBIEntity |
Indexes (5)
OMInternalOrganizationIdxOMInternalOrganization,OMHierarchyTypeNot unique.
OMHierarchyTypeIdxNot unique.
SecurityRoleAssignmentRuleIdxNot unique.
UserInfoIdxNot unique.
SecurityRoleIdxNot unique.
Relations (5)
Each relation joins OMUserRoleOrganization to another table on the fields shown.
OMHierarchyType→OMHierarchyTypeJoin on
OMHierarchyType = OMHierarchyType.RecIdMany OMUserRoleOrganization records → zero or one OMHierarchyType record
OrganizationAssignment→OMInternalOrganizationJoin on
OMInternalOrganization = OMInternalOrganization.RecIdMany OMUserRoleOrganization records → zero or one OMInternalOrganization record
SecurityRole→SecurityRoleJoin on
SecurityRole = SecurityRole.RecIdMany OMUserRoleOrganization records → zero or one SecurityRole record
SecurityRoleAssignmentRule→SecurityRoleAssignmentRuleJoin on
SecurityRoleAssignmentRule = SecurityRoleAssignmentRule.RecIdMany OMUserRoleOrganization records → zero or one SecurityRoleAssignmentRule record
UserInfo→UserInfoJoin on
User = UserInfo.idMany 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.
SystemSecurityUserRoleOrganizationEntity· 4 fields from this tableUserLegalEntityMapBIEntity· 1 field from this tableHRAdminOnboardingCopilotAdminListEntity· 0 fields from this table
Need help with OMUserRoleOrganization in a report, an integration or a migration? Talk to Dr Dynamics.