The Permissions property of the Role interface contains the role permissions for a specified key.
clsCubeRole |
String
Read-only
The Permissions property contains only one permissions key. It is preset with a property value of “Access”. The PermissionExpression for this key contains the property values R and RW, corresponding to read-only and read/write. The Permissions property is supported by the ClassType clsCubeRole only. For more information, see SetPermissions.
Use the following code to return a role object’s permission string:
Dim Perms As String
Perms = RoleObject.Permissions("Access")
About Decision Support Objects | Using Decision Support Objects |
Properties Cross-Reference |