ISProvider.InheritDefaults

Description

This function replaces the provider's preferences with the inherited ones.

Syntax

object.InheritDefaults aSourceProvCode

Part Attribute Type Description
object Required
The object always implements the ISProvider interface
aSourceProvCode In, Required
string
The code of the source provider

Example

Replace the provider's preferences with the inherited ones.

Dim aProvider

const aSourceProvCode = "AAAPROV"

set aProvider = Profile.LoadProvider("SSS")
aProvider.InheritDefaults aSourceProvCode

Profile.MsgBox ("The settings for provider " & aProvider.Code &_
  " were iherited from provider " & aSourceProvCode)  
Note:

In Profile Client v8 on User Interface Inherit Defaults can be found in Organisation > People&Places > People and Places > Open the selected Provider > Special > Inherit Defaults.

Version information

Added in v7.8.0