ISProfile.LoadCompoundRoles

Description

This function returns compound roles.

Syntax

object.LoadCompoundRoles()

Part Attribute Type Description
object Required
The object always implements the ISProfile interface

Return Value

ISRoles

Returns compound roles.

Example

Display the number of the compound roles and their names.

Dim aCompoundRoles
Dim aCompoundRole
Dim aMessage

Set aCompoundRoles = Profile.LoadCompoundRoles

aMessage = "Compound Roles Count = " & aCompoundRoles.Count
for i = 0 to aCompoundRoles.Count - 1
  set aCompoundRole = aCompoundRoles.Item(i)
  aMessage = aMessage & vbNewLine & aCompoundRole.RoleName
next      

Profile.MsgBox(aMessage) 
Note:

In Profile Client v8 on User Interface Compound Roles can be found in Organisation > Roles.

Version information

Added in v7.8.0