ISProviderGroup.ID

Description

ID of the provider group.

Syntax

object.ID

Part Attribute Type Description
object Required
The object always implements the ISProviderGroup interface
Restriction: This property is readonly.

Return Value

int

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
Dim i 

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 ID cannot be found, but Provider Groups can be found in Organisation > People & Places > People and Places.

Version information

Added in v7.8.0