StandardSettingsStorageManager.Load

Syntax:

Load(<ObjectKey>, <SettingsKey>, <SettingsDescription>, <UserName>)

Parameters:

<ObjectKey> (required)

Type: String.
Settings object key.
For details see Settings automatically saved in the system storage.

<SettingsKey> (optional)

Type: String.
Key of settings to be loaded.
Default value: Empty string.

<SettingsDescription> (optional)

Type: SettingsDescription.
Setting description.
If the parameter is not set, the setting description is not loaded.

<UserName> (optional)

Type: String.
Name of the user whose settings are to be loaded.
If it is not specified, settings of the current user are loaded.
If user name was changed former settings are not loaded.
If a new user is created, whose name coincides with the former user name, then existing settings are used for him.
If user, which is not current, is specified, i.e. when attempting to call the settings which do not belong to the current user, then the DataAdministration right is required for the current user..

Returned value:

Type: Arbitrary.
Undefined, if settings are not found.

Description:

Loads a setting from a storage.
The results are settings loaded from a storage.

Availability:

Server, thick client, external connection.

    

1C:Enterprise Developer's Community