ISProfile.LoadProviderByGuid

Description

This function returns the provider with the specified GUID.

Syntax

object.LoadProviderByGuid(aGUID)

Part Attribute Type Description
object Required
The object always implements the ISProfile interface
aGUID In, Required
string
GUID of the provider

Return Value

ISProvider

Returns the provider with the specified GUID.

Example

Display the full name and the code of the provider.

Dim aProvider
Dim aMessage

Set aProvider = Profile.LoadProviderByGuid("3C1E8B54DF8F4B708E58083C8F055135")
if aProvider is nothing then
  aMessage = "There is no provider with the specified GUID"
else
  aMessage = aProvider.FullName & " (" & aProvider.Code & ")"
end if
Profile.MsgBox(aMessage)           
Note:

In Profile Client v8 on User Interface GUID can not be found, but Provider can be found in Organisation > People & Places > People and Places.

Version information

Added in v7.9.2