PrtService.GetGroupList (Method)

Syntax

PrtService.GetGroupList

Description

Gets a list of groups contained in the PRT Service. Upon return, the total group count may be obtained from GroupCount, and the individual groups may be accessed via the Group function.

Example

Dim ServiceA as new PrtService

ServiceA.Id = "SERVICE_A"

' Get a list of groups in the service and display them one by

'   one in a message box.

ServiceA.GetGroupList

for j = 0 to ServiceA.GroupCount - 1

      MsgBox ServiceA.Group(j).Id

next j

More information

PRT Object Model member list.