ISOrgMembers.Item

Description

Each of the organisation nodes within the collection.

Syntax

object.Item(Index)

Part Attribute Type Description
object Required
The object always implements the ISOrgMembers interface
Index In, Required
int
The index of the organisation node
Restriction: This property is readonly.

Return Value

ISOrgMember

Example

Display each of the organisation nodes within the collection.

Dim aFilter
Dim aOrgMember
Dim aOrgMembers
Dim aMessage

Set aFilter = Profile.CreateOrgMembersFilter
set aOrgMembers = Profile.LoadOrgMembers(aFilter)

aMessage = "The number of the org nodes is " & aOrgMembers.Count & ":"
for i = 0 to aOrgMembers.Count - 1
  set aOrgMember = aOrgMembers.Item(i)
  aMessage = aMessage & vbNewLine & (i + 1) & ") " & aOrgMember.Name 
next      

Profile.MsgBox(aMessage)  
Note:

In Profile Client v8 on User Interface Organisation Nodes can be found in Organisation > People & Places > Organisational Structure.

Version information

Added in v7.8.0