Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Template for a role. Defines initial attributes that will be used when creating a new role.
Messages
The following table lists the messages for the Role Template (RoleTemplate) table. Messages represent operations that can be performed on the table. They may also be events.
| Name Is Event? |
Web API Operation | SDK for .NET |
|---|---|---|
AssociateEvent: True |
Associate records | Associate records |
DisassociateEvent: True |
Disassociate records | Disassociate records |
Properties
The following table lists selected properties for the Role Template (RoleTemplate) table.
| Property | Value |
|---|---|
| DisplayName | Role Template |
| DisplayCollectionName | Role Templates |
| SchemaName | RoleTemplate |
| CollectionSchemaName | RoleTemplates |
| EntitySetName | roletemplates |
| LogicalName | roletemplate |
| LogicalCollectionName | roletemplates |
| PrimaryIdAttribute | roletemplateid |
| PrimaryNameAttribute | name |
| TableType | Standard |
| OwnershipType | None |
Writable columns/attributes
These columns/attributes return true for either IsValidForCreate or IsValidForUpdate (usually both). Listed by SchemaName.
Name
| Property | Value |
|---|---|
| Description | Name of the role template. |
| DisplayName | |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | name |
| RequiredLevel | SystemRequired |
| Type | String |
| Format | Text |
| FormatName | Text |
| ImeMode | Auto |
| IsLocalizable | False |
| MaxLength | 100 |
RoleTemplateId
| Property | Value |
|---|---|
| Description | Unique identifier of the role template. |
| DisplayName | |
| IsValidForForm | False |
| IsValidForRead | True |
| LogicalName | roletemplateid |
| RequiredLevel | SystemRequired |
| Type | Uniqueidentifier |
Read-only columns/attributes
These columns/attributes return false for both IsValidForCreate and IsValidForUpdate. Listed by SchemaName.
Upgrading
| Property | Value |
|---|---|
| Description | |
| DisplayName | |
| IsValidForForm | False |
| IsValidForRead | False |
| LogicalName | upgrading |
| RequiredLevel | SystemRequired |
| Type | Boolean |
| GlobalChoiceName | roletemplate_upgrading |
| DefaultValue | False |
| True Label | Yes |
| False Label | No |
One-to-Many relationships
These relationships are one-to-many. Listed by SchemaName.
role_template_roles
Many-To-One Relationship: role role_template_roles
| Property | Value |
|---|---|
| ReferencingEntity | role |
| ReferencingAttribute | roletemplateid |
| ReferencedEntityNavigationPropertyName | role_template_roles |
| IsCustomizable | False |
| AssociatedMenuConfiguration | AvailableOffline: True Behavior: DoNotDisplayGroup: DetailsLabel: MenuId: null Order: QueryApi: null ViewId: 00000000-0000-0000-0000-000000000000 |
Many-to-Many relationships
These relationships are many-to-many. Listed by SchemaName.
roletemplateprivileges_association
See privilege roletemplateprivileges_association Many-To-Many Relationship
| Property | Value |
|---|---|
| IntersectEntityName | roletemplateprivileges |
| IsCustomizable | False |
| SchemaName | roletemplateprivileges_association |
| IntersectAttribute | roletemplateid |
| NavigationPropertyName | roletemplateprivileges_association |
| AssociatedMenuConfiguration | AvailableOffline: True Behavior: DoNotDisplayGroup: DetailsLabel: MenuId: null Order: QueryApi: null ViewId: 00000000-0000-0000-0000-000000000000 |
See also
Dataverse table/entity reference
Dataverse Web API Reference
roletemplate