CimProject.Roles (read-only property)

Gets the list of roles.
Syntax: Set CimRoleList = object.Roles
Description: The CimProject.Roles property is read-only and returns a collection object that is used to add and modify roles.

Example

Dim project As CimProject
Set project = CreateObject("CimProject")
project.OpenLocalProject "c:\cimpdemo\cimpdemo.gef"
Dim roleList as CimRoleList
set roleList = project.Roles