ISProfile.LoadProviderGroups

Description

This function returns the provider groups loaded on the basis of the selected filter.

Syntax

object.LoadProviderGroups(aFilter)

Part Attribute Type Description
object Required
The object always implements the ISProfile interface
aFilter In, Required
The object that defines conditions for filtering

Return Value

ISProviderGroups

Returns the provider groups loaded on the basis of the selected filter.

Example

Display the number of the provider groups loaded on the basis of the selected filter, their names and IDs.

Dim aFilter
Dim aProviderGroups
Dim aProviderGroup
Dim aMessage

set aFilter = Profile.CreateProviderGroupFilter
aFilter.Code = "APP"
set aProviderGroups = Profile.LoadProviderGroups(aFilter)

aMessage = "Provider Groups Count = " & aProviderGroups.Count

for i = 0 to aProviderGroups.Count - 1
  set aProviderGroup = aProviderGroups.Items(i)
  aMessage = aMessage & vbNewLine &_
   "Provider group '" & aProviderGroup.Name & "' has ID = " & aProviderGroup.ID
next

Profile.MsgBox(aMessage)  
Note:

In Profile Client v8 on User Interface Provider Groups can be found in Organisation > People & Places > People and Places.

See also

Version information

Added in v7.8.0