The Roles collection holds the user role definitions for a DSO object. Each of the following objects contains a Roles collection:
Each Roles collection contains role objects of the same class type. The ContainedClassType property of a Roles collection specifies the class type of the contained objects.
Object.ClassType | Object.Roles.ContainedClassType |
---|---|
clsCube | clsCubeRole |
clsDatabase | clsDatabaseRole |
As with other Decision Support Objects (DSO) collections, the AddNew, Find, and Remove methods of Roles collections maintain all necessary parent-child relationships among the objects in the object model.
Note The UsersList property is maintained by clsDatabaseRole and the Permissions property is maintained by clsCubeRole.
About Decision Support Objects | Collections |
Collection Methods | Collection Properties |