IServerAgentConnection.Authenticate

Syntax:

Authenticate(<Cluster>, <Name>, <Password>)

Parameters:

<Cluster> (required)

Type: IClusterInfo.
A server cluster. It can be obtained using the GetServerWorkingProcesses or CreateWorkingProcessInfo methods.

<Name> (required)

Type: String.
Name of a server cluster administrator.
An empty string means that the administrator should be authenticated by default (if the cluster has no registered administrators) or by the OS user (if OS user authentication is enabled for the cluster administrator).

<Password> (required)

Type: String.
User password for password authentication. A user is authenticated if the name and password match, and password authentication is enabled.

Description:

Authenticates an administrator of the server cluster.

Availability:

Integration.

Note:

All object methods that require authentication of the server cluster administrator can only be executed after the successful execution of this method.

    

1C:Enterprise Developer's Community