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

プロパティ
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

プロパティ
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

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

systemuser テーブル/エンティティの多対多のリレーションシップ systemuserroles_association を参照してください。

roleprivileges_association

privilege テーブル/エンティティの多対多のリレーションシップ roleprivileges_association を参照してください。

appmoduleroles_association

appmodule テーブル/エンティティの多対多のリレーションシップ appmoduleroles_association を参照してください。

teamroles_association

team テーブル/エンティティの多対多のリレーションシップ teamroles_association を参照してください。

applicationuserrole

applicationuser テーブル/エンティティの多対多のリレーションシップ applicationuserrole を参照してください。

関連項目

Dataverse テーブル/エンティティ参照 Web API リファレンス role EntityType