This filter property is used to load the provider group by the specified group ID.
object.ID
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProviderGroupFilter interface |
int
Display the number of the provider groups loaded on the basis of the selected filter, their names, codes and the names of the organisations they belong to.
Dim aFilter
Dim aProviderGroups
Dim aProviderGroup
Dim aMessage
Dim i
Set aFilter = Profile.CreateProviderGroupFilter
aFilter.ID = 154
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 & "The group '" & aProviderGroup.Name &_
"' (code: " & aProviderGroup.Code & ")"
if not aProviderGroup.Organisation is nothing then
aMessage = aMessage & " belongs to the organisation " &_
aProviderGroup.Organisation.Name
end if
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface ID cannot be found, but Provider Groups can be found in
.