This function checks if the provider group contains PPPU with the specified ID.
object.ContainsPPPU(aPPPUID)
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProviderGroup interface |
|
aPPPUID |
In, Required | int |
ID of PPPU |
bool
Display the number of the provider groups loaded on the basis of the selected filter and check if the provider group contains PPPU with the specified ID.
Dim aFilter
Dim aProviderGroups
Dim aProviderGroup
Dim aMessage
Dim i
Dim aProvider
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 & aProviderGroup.Name
set aProvider = Profile.LoadProvider ("MM")
if aProviderGroup.ContainsPPPU(aProvider.Id) then
aMessage = aMessage & vbNewLine & "The Provider Group '" &_
aProviderGroup.Name & "' contains " & aProvider.FullName
else
aMessage = aMessage & vbNewLine & "The Provider Group '" &_
aProviderGroup.Name & "' does not contain " & aProvider.FullName
end if
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface PPPU can be found in
.