ISProvidersFilter.ReferenceCode

Description

This filter property is used to load the collection of providers with the specified identifier for the external systems.

Syntax

object.ReferenceCode

Part Attribute Type Description
object Required
The object always implements the ISProvidersFilter interface

Return Value

string

Example

Display the number of the providers loaded on the basis of the selected filter, their full names and IDs.

Dim aFilter 
Dim aProviders
Dim aProvider
Dim aMessage

Set aFilter = Profile.CreateProvidersFilter

aFilter.ReferenceCode = "6FTRH"

Set aProviders = Profile.LoadProvidersByFilter(aFilter)

aMessage = vbNewLine & "The number of the providers " &_
  "with the specified identifier (" & aFilter.ReferenceCode &_
  ") for the external systems is " & aProviders.Count
  
aMessage = aMessage & vbNewLine & vbNewLine &_
  "Full Name:" & vbTab & "ID:"  

for each aProvider in aProviders 
  aMessage = aMessage & vbNewLine &_
    aProvider.FullName & vbTab &_
    aProvider.ID  
next
Profile.MsgBox (aMessage)  
Note:

In Profile Client v8 on User Interface Reference Code can be found in Organisation > People & Places > People and Places > Open the selected Provider > Basic > Reference > Prov ID field.

Version information

Added in v7.8.0