Security Role (Role) テーブル/エンティティの参照
注意
テーブルとエンティティの違いについて不明な点がありますか? 開発者: Microsoft Dataverse の用語を理解するを参照してください。
Grouping of security privileges. Users are assigned roles that authorize their access to the Microsoft CRM system.
メッセージ
| メッセージ | Web API 操作 | SDK アセンブリ |
|---|---|---|
| AddPrivilegesRole | AddPrivilegesRole Action | AddPrivilegesRoleRequest |
| Create | POST [org URI]/api/data/v9.0/roles 作成を参照 |
CreateRequest または Create |
| Delete | DELETE [org URI]/api/data/v9.0/roles(roleid) 削除を参照 |
DeleteRequest または Delete |
| RemovePrivilegeRole | RemovePrivilegeRole Action | RemovePrivilegeRoleRequest |
| ReplacePrivilegesRole | ReplacePrivilegesRole Action | ReplacePrivilegesRoleRequest |
| Retrieve | GET [org URI]/api/data/v9.0/roles(roleid) 取得を参照 |
RetrieveRequest または Retrieve |
| RetrieveAadUserRoles | RetrieveAadUserRoles Function | RetrieveAadUserRolesRequest |
| RetrieveMultiple | GET [org URI]/api/data/v9.0/roles データのクエリを参照 |
RetrieveMultipleRequest または RetrieveMultiple |
| RetrieveRolePrivilegesRole | RetrieveRolePrivilegesRole Function | RetrieveRolePrivilegesRoleRequest |
| Update | PATCH [org URI]/api/data/v9.0/roles(roleid) 更新を参照 |
UpdateRequest または Update |
プロパティ
| プロパティ | 値 |
|---|---|
| CollectionSchemaName | Roles |
| DisplayCollectionName | Security Roles |
| DisplayName | Security Role |
| EntitySetName | roles |
| IsBPFEntity | False |
| LogicalCollectionName | roles |
| LogicalName | role |
| OwnershipType | BusinessOwned |
| PrimaryIdAttribute | roleid |
| PrimaryNameAttribute | name |
| SchemaName | Role |
書き込み可能な列/属性
これらの列/属性は IsValidForCreate または IsValidForUpdate のいずれかについて true を返します (通常は両方)。 SchemaName が一覧表示。
- BusinessUnitId
- CanBeDeleted
- ImportSequenceNumber
- IsCustomizable
- IsInherited
- Name
- OverriddenCreatedOn
- RoleId
BusinessUnitId
| プロパティ | 値 |
|---|---|
| Description | Unique identifier of the business unit with which the role is associated. |
| DisplayName | Business Unit |
| IsValidForForm | False |
| IsValidForRead | True |
| IsValidForUpdate | False |
| LogicalName | businessunitid |
| RequiredLevel | SystemRequired |
| Targets | businessunit |
| Type | Lookup |
CanBeDeleted
| プロパティ | 値 |
|---|---|
| Description | Tells whether the role can be deleted. |
| DisplayName | Can Be Deleted |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | canbedeleted |
| RequiredLevel | SystemRequired |
| Type | ManagedProperty |
ImportSequenceNumber
| プロパティ | 値 |
|---|---|
| Description | Unique identifier of the data import or data migration that created this record. |
| DisplayName | Import Sequence Number |
| Format | None |
| IsValidForForm | False |
| IsValidForRead | True |
| IsValidForUpdate | False |
| LogicalName | importsequencenumber |
| MaxValue | 2147483647 |
| MinValue | -2147483648 |
| RequiredLevel | None |
| Type | Integer |
IsCustomizable
| プロパティ | 値 |
|---|---|
| Description | Information that specifies whether this component can be customized. |
| DisplayName | Customizable |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | iscustomizable |
| RequiredLevel | SystemRequired |
| Type | ManagedProperty |
IsInherited
| プロパティ | 値 |
|---|---|
| Description | Role is inherited by users from team membership, if role associated with team. |
| DisplayName | Is Inherited |
| IsValidForForm | True |
| IsValidForRead | True |
| LogicalName | isinherited |
| RequiredLevel | SystemRequired |
| Type | Picklist |
IsInherited の選択肢/オプション
| 値 | ラベル | 内容 |
|---|---|---|
| 0 | Team privileges only | |
| 1 | Direct User (Basic) access level and Team privileges |
Name
| プロパティ | 値 |
|---|---|
| Description | Name of the role. |
| DisplayName | Name |
| FormatName | Text |
| IsLocalizable | False |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | name |
| MaxLength | 100 |
| RequiredLevel | SystemRequired |
| Type | String |
OverriddenCreatedOn
| プロパティ | 値 |
|---|---|
| DateTimeBehavior | UserLocal |
| Description | Date and time that the record was migrated. |
| DisplayName | Record Created On |
| Format | DateOnly |
| IsValidForForm | False |
| IsValidForRead | True |
| IsValidForUpdate | False |
| LogicalName | overriddencreatedon |
| RequiredLevel | None |
| Type | DateTime |
RoleId
| プロパティ | 値 |
|---|---|
| Description | Unique identifier of the role. |
| DisplayName | Role |
| IsValidForForm | False |
| IsValidForRead | True |
| IsValidForUpdate | False |
| LogicalName | roleid |
| RequiredLevel | SystemRequired |
| Type | Uniqueidentifier |
読み取り専用列/属性
これらの列/属性は IsValidForCreate または IsValidForUpdate の両方について false を返します。 SchemaName が一覧表示。
- BusinessUnitIdName
- ComponentState
- CreatedBy
- CreatedByName
- CreatedByYomiName
- CreatedOn
- CreatedOnBehalfBy
- CreatedOnBehalfByName
- CreatedOnBehalfByYomiName
- IsManaged
- ModifiedBy
- ModifiedByName
- ModifiedByYomiName
- ModifiedOn
- ModifiedOnBehalfBy
- ModifiedOnBehalfByName
- ModifiedOnBehalfByYomiName
- OrganizationId
- OrganizationIdName
- OverwriteTime
- ParentRoleId
- ParentRoleIdName
- ParentRootRoleId
- ParentRootRoleIdName
- RoleIdUnique
- RoleTemplateId
- SolutionId
- SupportingSolutionId
- VersionNumber
BusinessUnitIdName
| プロパティ | 値 |
|---|---|
| Description | |
| DisplayName | |
| FormatName | Text |
| IsLocalizable | False |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | businessunitidname |
| MaxLength | 100 |
| RequiredLevel | SystemRequired |
| Type | String |
ComponentState
| プロパティ | 値 |
|---|---|
| Description | For internal use only. |
| DisplayName | Component State |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | componentstate |
| RequiredLevel | SystemRequired |
| Type | Picklist |
ComponentState の選択肢/オプション
| 値 | ラベル | 内容 |
|---|---|---|
| 0 | Published | |
| 1 | Unpublished | |
| 2 | Deleted | |
| 3 | Deleted Unpublished |
CreatedBy
| プロパティ | 値 |
|---|---|
| Description | Unique identifier of the user who created the role. |
| DisplayName | Created By |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | createdby |
| RequiredLevel | None |
| Targets | systemuser |
| Type | Lookup |
CreatedByName
| プロパティ | 値 |
|---|---|
| Description | |
| DisplayName | |
| FormatName | Text |
| IsLocalizable | False |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | createdbyname |
| MaxLength | 100 |
| RequiredLevel | None |
| Type | String |
CreatedByYomiName
| プロパティ | 値 |
|---|---|
| Description | |
| DisplayName | |
| FormatName | Text |
| IsLocalizable | False |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | createdbyyominame |
| MaxLength | 100 |
| RequiredLevel | None |
| Type | String |
CreatedOn
| プロパティ | 値 |
|---|---|
| DateTimeBehavior | UserLocal |
| Description | Date and time when the role was created. |
| DisplayName | Created On |
| Format | DateAndTime |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | createdon |
| RequiredLevel | None |
| Type | DateTime |
CreatedOnBehalfBy
| プロパティ | 値 |
|---|---|
| Description | Unique identifier of the delegate user who created the role. |
| DisplayName | Created By Impersonator |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | createdonbehalfby |
| RequiredLevel | None |
| Targets | systemuser |
| Type | Lookup |
CreatedOnBehalfByName
| プロパティ | 値 |
|---|---|
| Description | |
| DisplayName | |
| FormatName | Text |
| IsLocalizable | False |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | createdonbehalfbyname |
| MaxLength | 100 |
| RequiredLevel | None |
| Type | String |
CreatedOnBehalfByYomiName
| プロパティ | 値 |
|---|---|
| Description | |
| DisplayName | |
| FormatName | Text |
| IsLocalizable | False |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | createdonbehalfbyyominame |
| MaxLength | 100 |
| RequiredLevel | None |
| Type | String |
IsManaged
| プロパティ | 値 |
|---|---|
| Description | Indicates whether the solution component is part of a managed solution. |
| DisplayName | State |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | ismanaged |
| RequiredLevel | SystemRequired |
| Type | Boolean |
IsManaged の選択肢/オプション
| 値 | ラベル | 内容 |
|---|---|---|
| 1 | Managed | |
| 0 | Unmanaged |
既定値 : 0
ModifiedBy
| プロパティ | 値 |
|---|---|
| Description | Unique identifier of the user who last modified the role. |
| DisplayName | Modified By |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | modifiedby |
| RequiredLevel | None |
| Targets | systemuser |
| Type | Lookup |
ModifiedByName
| プロパティ | 値 |
|---|---|
| Description | |
| DisplayName | |
| FormatName | Text |
| IsLocalizable | False |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | modifiedbyname |
| MaxLength | 100 |
| RequiredLevel | None |
| Type | String |
ModifiedByYomiName
| プロパティ | 値 |
|---|---|
| Description | |
| DisplayName | |
| FormatName | Text |
| IsLocalizable | False |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | modifiedbyyominame |
| MaxLength | 100 |
| RequiredLevel | None |
| Type | String |
ModifiedOn
| プロパティ | 値 |
|---|---|
| DateTimeBehavior | UserLocal |
| Description | Date and time when the role was last modified. |
| DisplayName | Modified On |
| Format | DateAndTime |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | modifiedon |
| RequiredLevel | None |
| Type | DateTime |
ModifiedOnBehalfBy
| プロパティ | 値 |
|---|---|
| Description | Unique identifier of the delegate user who last modified the role. |
| DisplayName | Modified By (Delegate) |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | modifiedonbehalfby |
| RequiredLevel | None |
| Targets | systemuser |
| Type | Lookup |
ModifiedOnBehalfByName
| プロパティ | 値 |
|---|---|
| Description | |
| DisplayName | |
| FormatName | Text |
| IsLocalizable | False |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | modifiedonbehalfbyname |
| MaxLength | 100 |
| RequiredLevel | None |
| Type | String |
ModifiedOnBehalfByYomiName
| プロパティ | 値 |
|---|---|
| Description | |
| DisplayName | |
| FormatName | Text |
| IsLocalizable | False |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | modifiedonbehalfbyyominame |
| MaxLength | 100 |
| RequiredLevel | None |
| Type | String |
OrganizationId
| プロパティ | 値 |
|---|---|
| Description | Unique identifier of the organization associated with the role. |
| DisplayName | Organization |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | organizationid |
| RequiredLevel | SystemRequired |
| Type | Uniqueidentifier |
OrganizationIdName
| プロパティ | 値 |
|---|---|
| Description | |
| DisplayName | |
| FormatName | Text |
| IsLocalizable | False |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | organizationidname |
| MaxLength | 100 |
| RequiredLevel | SystemRequired |
| Type | String |
OverwriteTime
| プロパティ | 値 |
|---|---|
| DateTimeBehavior | UserLocal |
| Description | For internal use only. |
| DisplayName | Record Overwrite Time |
| Format | DateOnly |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | overwritetime |
| RequiredLevel | SystemRequired |
| Type | DateTime |
ParentRoleId
| プロパティ | 値 |
|---|---|
| Description | Unique identifier of the parent role. |
| DisplayName | Parent Role |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | parentroleid |
| RequiredLevel | None |
| Targets | role |
| Type | Lookup |
ParentRoleIdName
| プロパティ | 値 |
|---|---|
| Description | |
| DisplayName | |
| FormatName | Text |
| IsLocalizable | False |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | parentroleidname |
| MaxLength | 100 |
| RequiredLevel | SystemRequired |
| Type | String |
ParentRootRoleId
| プロパティ | 値 |
|---|---|
| Description | Unique identifier of the parent root role. |
| DisplayName | Parent Root Role |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | parentrootroleid |
| RequiredLevel | SystemRequired |
| Targets | role |
| Type | Lookup |
ParentRootRoleIdName
| プロパティ | 値 |
|---|---|
| Description | |
| DisplayName | |
| FormatName | Text |
| IsLocalizable | False |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | parentrootroleidname |
| MaxLength | 100 |
| RequiredLevel | SystemRequired |
| Type | String |
RoleIdUnique
| プロパティ | 値 |
|---|---|
| Description | For internal use only. |
| DisplayName | Unique Id |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | roleidunique |
| RequiredLevel | SystemRequired |
| Type | Uniqueidentifier |
RoleTemplateId
| プロパティ | 値 |
|---|---|
| Description | Unique identifier of the role template that is associated with the role. |
| DisplayName | Role Template |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | roletemplateid |
| RequiredLevel | None |
| Targets | roletemplate |
| Type | Lookup |
SolutionId
| プロパティ | 値 |
|---|---|
| Description | Unique identifier of the associated solution. |
| DisplayName | Solution |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | solutionid |
| RequiredLevel | SystemRequired |
| Type | Uniqueidentifier |
SupportingSolutionId
| プロパティ | 値 |
|---|---|
| Description | For internal use only. |
| DisplayName | Solution |
| IsValidForForm | False |
| IsValidForRead | False |
| LogicalName | supportingsolutionid |
| RequiredLevel | None |
| Type | Uniqueidentifier |
VersionNumber
| プロパティ | 値 |
|---|---|
| Description | Version number of the role. |
| DisplayName | Version number |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | versionnumber |
| MaxValue | 9223372036854775807 |
| MinValue | -9223372036854775808 |
| RequiredLevel | None |
| Type | BigInt |
一対多関連付け
SchemaName が一覧表示。
role_parent_role
role テーブル/エンティティの多対一のリレーションシップ role_parent_role と同じです。
| プロパティ | 値 |
|---|---|
| ReferencingEntity | role |
| ReferencingAttribute | parentroleid |
| IsHierarchical | False |
| IsCustomizable | False |
| ReferencedEntityNavigationPropertyName | role_parent_role |
| AssociatedMenuConfiguration | Behavior: DoNotDisplay Group: Details Label: Order: |
| CascadeConfiguration | Assign: NoCascade Delete: NoCascade Merge: NoCascade Reparent: NoCascade Share: NoCascade Unshare: NoCascade |
Role_AsyncOperations
asyncoperation テーブル/エンティティの多対一のリレーションシップ Role_AsyncOperations と同じです。
| プロパティ | 値 |
|---|---|
| ReferencingEntity | asyncoperation |
| ReferencingAttribute | regardingobjectid |
| IsHierarchical | False |
| IsCustomizable | False |
| ReferencedEntityNavigationPropertyName | Role_AsyncOperations |
| AssociatedMenuConfiguration | Behavior: DoNotDisplay Group: Details Label: Order: |
| CascadeConfiguration | Assign: NoCascade Delete: NoCascade Merge: NoCascade Reparent: NoCascade Share: NoCascade Unshare: NoCascade |
role_parent_root_role
role テーブル/エンティティの多対一のリレーションシップ role_parent_root_role と同じです。
| プロパティ | 値 |
|---|---|
| ReferencingEntity | role |
| ReferencingAttribute | parentrootroleid |
| IsHierarchical | False |
| IsCustomizable | False |
| ReferencedEntityNavigationPropertyName | role_parent_root_role |
| AssociatedMenuConfiguration | Behavior: DoNotDisplay Group: Details Label: Order: |
| CascadeConfiguration | Assign: NoCascade Delete: Cascade Merge: NoCascade Reparent: NoCascade Share: NoCascade Unshare: NoCascade |
Role_BulkDeleteFailures
bulkdeletefailure テーブル/エンティティの多対一のリレーションシップ Role_BulkDeleteFailures と同じです。
| プロパティ | 値 |
|---|---|
| ReferencingEntity | bulkdeletefailure |
| ReferencingAttribute | regardingobjectid |
| IsHierarchical | False |
| IsCustomizable | False |
| ReferencedEntityNavigationPropertyName | Role_BulkDeleteFailures |
| AssociatedMenuConfiguration | Behavior: DoNotDisplay Group: Details Label: Order: |
| CascadeConfiguration | Assign: NoCascade Delete: Cascade Merge: NoCascade Reparent: NoCascade Share: NoCascade Unshare: NoCascade |
Role_SyncErrors
syncerror テーブル/エンティティの多対一のリレーションシップ Role_SyncErrors と同じです。
| プロパティ | 値 |
|---|---|
| ReferencingEntity | syncerror |
| ReferencingAttribute | regardingobjectid |
| IsHierarchical | False |
| IsCustomizable | True |
| ReferencedEntityNavigationPropertyName | Role_SyncErrors |
| AssociatedMenuConfiguration | Behavior: DoNotDisplay Group: Details Label: Order: |
| CascadeConfiguration | Assign: Cascade Delete: Cascade Merge: Cascade Reparent: Cascade Share: Cascade Unshare: Cascade |
多対一関連付け
各多対一の関係付けは、関連するテーブルとの対応する一対多の関係付けによって定義されます。 SchemaName が一覧表示。
- lk_rolebase_modifiedby
- role_parent_role
- organization_roles
- business_unit_roles
- lk_role_createdonbehalfby
- lk_role_modifiedonbehalfby
- role_parent_root_role
- lk_rolebase_createdby
- solution_role
lk_rolebase_modifiedby
systemuser テーブル/エンティティの一対多のリレーションシップ lk_rolebase_modifiedby を参照してください。
role_parent_role
role テーブル/エンティティの一対多のリレーションシップ role_parent_role を参照してください。
organization_roles
organization テーブル/エンティティの一対多のリレーションシップ organization_roles を参照してください。
business_unit_roles
businessunit テーブル/エンティティの一対多のリレーションシップ business_unit_roles を参照してください。
lk_role_createdonbehalfby
systemuser テーブル/エンティティの一対多のリレーションシップ lk_role_createdonbehalfby を参照してください。
lk_role_modifiedonbehalfby
systemuser テーブル/エンティティの一対多のリレーションシップ lk_role_modifiedonbehalfby を参照してください。
role_parent_root_role
role テーブル/エンティティの一対多のリレーションシップ role_parent_root_role を参照してください。
lk_rolebase_createdby
systemuser テーブル/エンティティの一対多のリレーションシップ lk_rolebase_createdby を参照してください。
solution_role
solution テーブル/エンティティの一対多のリレーションシップ solution_role を参照してください。
多対多関連付け
Role テーブルが関連付けの最初のテーブルである場合に提供される関連付けの詳細。 SchemaName が一覧表示。
- systemuserroles_association
- roleprivileges_association
- appmoduleroles_association
- teamroles_association
- applicationuserrole
systemuserroles_association
systemuser テーブル/エンティティの多対多のリレーションシップ systemuserroles_association を参照してください。
roleprivileges_association
privilege テーブル/エンティティの多対多のリレーションシップ roleprivileges_association を参照してください。
appmoduleroles_association
appmodule テーブル/エンティティの多対多のリレーションシップ appmoduleroles_association を参照してください。
teamroles_association
team テーブル/エンティティの多対多のリレーションシップ teamroles_association を参照してください。
applicationuserrole
applicationuser テーブル/エンティティの多対多のリレーションシップ applicationuserrole を参照してください。
関連項目
フィードバック
フィードバックの送信と表示