The Role interface supports the following properties.
| Property | Description |
|---|---|
| ClassType | Returns an enumeration constant identifying the specific object type. |
| Description | The description of a role. |
| IsValid | Indicates whether a role structure is valid. |
| Name | The name of a role. |
| Parent | Returns a reference to the parent MDStore object. |
| Permissions | The role permissions for a given key. |
| SubClassType | Returns an enumeration constant identifying the subclass type of the object. |
| UsersList | A semicolon-delimited list of users. |
The following table shows whether the property is read/write (R/W), read-only (R), or not applicable (n/a) for different objects.
| Property | clsDatabaseRole | clsCubeRole |
|---|---|---|
| ClassType | R | R |
| Description | R/W | R |
| IsValid | R | R |
| Name | R/W (R after the object has been named) | R/W (R after the object has been named) |
| Parent | R | R |
| Permissions | R | n/a |
| SubClassType | R | R |
| UsersList | R/W | R |