Référence d’entité/de table Security Role (Role)
Notes
Vous n’êtes pas sûr de la table par rapport à l’entité ? Voir Développeurs : Comprendre la terminologie dans Microsoft Dataverse.
Grouping of security privileges. Users are assigned roles that authorize their access to the Microsoft CRM system.
Messages
Message | Opération de l'API web | Classe ou méthode SDK |
---|---|---|
AddPrivilegesRole | AddPrivilegesRole Action | AddPrivilegesRoleRequest |
Create | POST [org URI]/api/data/v9.0/roles Voir Créer |
CreateRequest ou Create |
Delete | DELETE [org URI]/api/data/v9.0/roles(roleid) Voir Supprimer |
DeleteRequest ou Delete |
RemovePrivilegeRole | RemovePrivilegeRole Action | RemovePrivilegeRoleRequest |
ReplacePrivilegesRole | ReplacePrivilegesRole Action | ReplacePrivilegesRoleRequest |
Retrieve | GET [org URI]/api/data/v9.0/roles(roleid) Voir Récupérer |
RetrieveRequest ou Retrieve |
RetrieveAadUserRoles | RetrieveAadUserRoles Function | RetrieveAadUserRolesRequest |
RetrieveMultiple | GET [org URI]/api/data/v9.0/roles Voir Rechercher des données |
RetrieveMultipleRequest ou RetrieveMultiple |
RetrieveRolePrivilegesRole | RetrieveRolePrivilegesRole Function | RetrieveRolePrivilegesRoleRequest |
Update | PATCH [org URI]/api/data/v9.0/roles(roleid) Voir Mettre à jour |
UpdateRequest ou Update |
Propriétés
Propriété | Valeur |
---|---|
CollectionSchemaName | Roles |
DisplayCollectionName | Security Roles |
DisplayName | Security Role |
EntitySetName | roles |
IsBPFEntity | False |
LogicalCollectionName | roles |
LogicalName | role |
OwnershipType | BusinessOwned |
PrimaryIdAttribute | roleid |
PrimaryNameAttribute | name |
SchemaName | Role |
Colonnes/Attributs inscriptibles
Ces colonnes/attributs renvoient la valeur true pour IsValidForCreate ou IsValidForUpdate (généralement les deux). Répertorié par SchemaName.
- BusinessUnitId
- CanBeDeleted
- ImportSequenceNumber
- IsCustomizable
- IsInherited
- Name
- OverriddenCreatedOn
- RoleId
BusinessUnitId
Propriété | Valeur |
---|---|
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
Propriété | Valeur |
---|---|
Description | Tells whether the role can be deleted. |
DisplayName | Can Be Deleted |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | canbedeleted |
RequiredLevel | SystemRequired |
Type | ManagedProperty |
ImportSequenceNumber
Propriété | Valeur |
---|---|
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
Propriété | Valeur |
---|---|
Description | Information that specifies whether this component can be customized. |
DisplayName | Customizable |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | iscustomizable |
RequiredLevel | SystemRequired |
Type | ManagedProperty |
IsInherited
Propriété | Valeur |
---|---|
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 |
Choix/Options IsInherited
Valeur | Étiquette | Description |
---|---|---|
0 | Team privileges only | |
1 | Direct User (Basic) access level and Team privileges |
Name
Propriété | Valeur |
---|---|
Description | Name of the role. |
DisplayName | Name |
FormatName | Text |
IsLocalizable | False |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | name |
MaxLength | 100 |
RequiredLevel | SystemRequired |
Type | String |
OverriddenCreatedOn
Propriété | Valeur |
---|---|
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
Propriété | Valeur |
---|---|
Description | Unique identifier of the role. |
DisplayName | Role |
IsValidForForm | False |
IsValidForRead | True |
IsValidForUpdate | False |
LogicalName | roleid |
RequiredLevel | SystemRequired |
Type | Uniqueidentifier |
Colonnes/Attributs en lecture seule
Ces colonnes/attributs renvoient la valeur false pour IsValidForCreate ou IsValidForUpdate. Répertorié par 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
Propriété | Valeur |
---|---|
Description | |
DisplayName | |
FormatName | Text |
IsLocalizable | False |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | businessunitidname |
MaxLength | 100 |
RequiredLevel | SystemRequired |
Type | String |
ComponentState
Propriété | Valeur |
---|---|
Description | For internal use only. |
DisplayName | Component State |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | componentstate |
RequiredLevel | SystemRequired |
Type | Picklist |
Choix/Options ComponentState
Valeur | Étiquette | Description |
---|---|---|
0 | Published | |
1 | Unpublished | |
2 | Deleted | |
3 | Deleted Unpublished |
CreatedBy
Propriété | Valeur |
---|---|
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
Propriété | Valeur |
---|---|
Description | |
DisplayName | |
FormatName | Text |
IsLocalizable | False |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | createdbyname |
MaxLength | 100 |
RequiredLevel | None |
Type | String |
CreatedByYomiName
Propriété | Valeur |
---|---|
Description | |
DisplayName | |
FormatName | Text |
IsLocalizable | False |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | createdbyyominame |
MaxLength | 100 |
RequiredLevel | None |
Type | String |
CreatedOn
Propriété | Valeur |
---|---|
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
Propriété | Valeur |
---|---|
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
Propriété | Valeur |
---|---|
Description | |
DisplayName | |
FormatName | Text |
IsLocalizable | False |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | createdonbehalfbyname |
MaxLength | 100 |
RequiredLevel | None |
Type | String |
CreatedOnBehalfByYomiName
Propriété | Valeur |
---|---|
Description | |
DisplayName | |
FormatName | Text |
IsLocalizable | False |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | createdonbehalfbyyominame |
MaxLength | 100 |
RequiredLevel | None |
Type | String |
IsManaged
Propriété | Valeur |
---|---|
Description | Indicates whether the solution component is part of a managed solution. |
DisplayName | State |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | ismanaged |
RequiredLevel | SystemRequired |
Type | Boolean |
Choix/Options IsManaged
Valeur | Étiquette | Description |
---|---|---|
1 | Managed | |
0 | Unmanaged |
Valeur par défaut : 0
ModifiedBy
Propriété | Valeur |
---|---|
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
Propriété | Valeur |
---|---|
Description | |
DisplayName | |
FormatName | Text |
IsLocalizable | False |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | modifiedbyname |
MaxLength | 100 |
RequiredLevel | None |
Type | String |
ModifiedByYomiName
Propriété | Valeur |
---|---|
Description | |
DisplayName | |
FormatName | Text |
IsLocalizable | False |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | modifiedbyyominame |
MaxLength | 100 |
RequiredLevel | None |
Type | String |
ModifiedOn
Propriété | Valeur |
---|---|
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
Propriété | Valeur |
---|---|
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
Propriété | Valeur |
---|---|
Description | |
DisplayName | |
FormatName | Text |
IsLocalizable | False |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | modifiedonbehalfbyname |
MaxLength | 100 |
RequiredLevel | None |
Type | String |
ModifiedOnBehalfByYomiName
Propriété | Valeur |
---|---|
Description | |
DisplayName | |
FormatName | Text |
IsLocalizable | False |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | modifiedonbehalfbyyominame |
MaxLength | 100 |
RequiredLevel | None |
Type | String |
OrganizationId
Propriété | Valeur |
---|---|
Description | Unique identifier of the organization associated with the role. |
DisplayName | Organization |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | organizationid |
RequiredLevel | SystemRequired |
Type | Uniqueidentifier |
OrganizationIdName
Propriété | Valeur |
---|---|
Description | |
DisplayName | |
FormatName | Text |
IsLocalizable | False |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | organizationidname |
MaxLength | 100 |
RequiredLevel | SystemRequired |
Type | String |
OverwriteTime
Propriété | Valeur |
---|---|
DateTimeBehavior | UserLocal |
Description | For internal use only. |
DisplayName | Record Overwrite Time |
Format | DateOnly |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | overwritetime |
RequiredLevel | SystemRequired |
Type | DateTime |
ParentRoleId
Propriété | Valeur |
---|---|
Description | Unique identifier of the parent role. |
DisplayName | Parent Role |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | parentroleid |
RequiredLevel | None |
Targets | role |
Type | Lookup |
ParentRoleIdName
Propriété | Valeur |
---|---|
Description | |
DisplayName | |
FormatName | Text |
IsLocalizable | False |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | parentroleidname |
MaxLength | 100 |
RequiredLevel | SystemRequired |
Type | String |
ParentRootRoleId
Propriété | Valeur |
---|---|
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
Propriété | Valeur |
---|---|
Description | |
DisplayName | |
FormatName | Text |
IsLocalizable | False |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | parentrootroleidname |
MaxLength | 100 |
RequiredLevel | SystemRequired |
Type | String |
RoleIdUnique
Propriété | Valeur |
---|---|
Description | For internal use only. |
DisplayName | Unique Id |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | roleidunique |
RequiredLevel | SystemRequired |
Type | Uniqueidentifier |
RoleTemplateId
Propriété | Valeur |
---|---|
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
Propriété | Valeur |
---|---|
Description | Unique identifier of the associated solution. |
DisplayName | Solution |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | solutionid |
RequiredLevel | SystemRequired |
Type | Uniqueidentifier |
SupportingSolutionId
Propriété | Valeur |
---|---|
Description | For internal use only. |
DisplayName | Solution |
IsValidForForm | False |
IsValidForRead | False |
LogicalName | supportingsolutionid |
RequiredLevel | None |
Type | Uniqueidentifier |
VersionNumber
Propriété | Valeur |
---|---|
Description | Version number of the role. |
DisplayName | Version number |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | versionnumber |
MaxValue | 9223372036854775807 |
MinValue | -9223372036854775808 |
RequiredLevel | None |
Type | BigInt |
Relations un-à-plusieurs
Répertorié par SchemaName.
role_parent_role
Identique à la relation plusieurs à un role_parent_role pour la table/entité role.
Propriété | Valeur |
---|---|
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
Identique à la relation plusieurs à un Role_AsyncOperations pour la table/entité asyncoperation.
Propriété | Valeur |
---|---|
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
Identique à la relation plusieurs à un role_parent_root_role pour la table/entité role.
Propriété | Valeur |
---|---|
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
Identique à la relation plusieurs à un Role_BulkDeleteFailures pour la table/entité bulkdeletefailure.
Propriété | Valeur |
---|---|
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
Identique à la relation plusieurs à un Role_SyncErrors pour la table/entité syncerror.
Propriété | Valeur |
---|---|
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 |
Relations plusieurs-à-un
Chaque relation plusieurs-à-un est définie par une relation un-à-plusieurs correspondante avec la table associée. Répertorié par 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
Voir la relation un à plusieurs lk_rolebase_modifiedby pour la table/entité systemuser.
role_parent_role
Voir la relation un à plusieurs role_parent_role pour la table/entité role.
organization_roles
Voir la relation un à plusieurs organization_roles pour la table/entité organization.
business_unit_roles
Voir la relation un à plusieurs business_unit_roles pour la table/entité businessunit.
lk_role_createdonbehalfby
Voir la relation un à plusieurs lk_role_createdonbehalfby pour la table/entité systemuser.
lk_role_modifiedonbehalfby
Voir la relation un à plusieurs lk_role_modifiedonbehalfby pour la table/entité systemuser.
role_parent_root_role
Voir la relation un à plusieurs role_parent_root_role pour la table/entité role.
lk_rolebase_createdby
Voir la relation un à plusieurs lk_rolebase_createdby pour la table/entité systemuser.
solution_role
Voir la relation un à plusieurs solution_role pour la table/entité solution.
Relations plusieurs-à-plusieurs
Détails de la relation fournis où la table Role est la première table de la relation. Répertorié par SchemaName.
- systemuserroles_association
- roleprivileges_association
- appmoduleroles_association
- teamroles_association
- applicationuserrole
systemuserroles_association
Voir la relation plusieurs à plusieurs systemuserroles_association pour la table/entité systemuser.
roleprivileges_association
Voir la relation plusieurs à plusieurs roleprivileges_association pour la table/entité privilege.
appmoduleroles_association
Voir la relation plusieurs à plusieurs appmoduleroles_association pour la table/entité appmodule.
teamroles_association
Voir la relation plusieurs à plusieurs teamroles_association pour la table/entité team.
applicationuserrole
Voir la relation plusieurs à plusieurs applicationuserrole pour la table/entité applicationuser.
Voir aussi
Référence d’entité/de table Dataverse Référence d’API web role EntityType