The Role interface supports the following methods.
| Method | Description |
|---|---|
| Clone | Copies a database role to another database. |
| LockObject | Locks a role object. |
| SetPermissions | Sets role permissions for a given key. |
| UnlockObject | Unlocks a previously locked role object. |
| Update | Saves a role in the repository. |
The following table shows the applicability of each method to each object. X indicates applicable, n/a indicates not applicable.
| clsDatabaseRole | clsCubeRole | |
|---|---|---|
| Clone | X | n/a |
| LockObject | X | n/a |
| SetPermissions | n/a | X |
| UnlockObject | X | n/a |
| Update | X | n/a |