SetNewMobiLinkPassword

Description

Sets a new password for the current MobiLink user.

Applies to

MLSynchronization, MLSync, and ULSync controls

Syntax

syncObject.SetNewMobiLinkPassword (newPW)

Argument

Description

syncObject

The name of the synchronization object that starts a connection to the synchronization server.

newPW

A string consisting of the new password that you want to set for MobiLink.

Returns

Integer. Returns 1 for succes and -1 for failure.

Usage

SetNewMobiLinkPassword uses the properties in the synchronization object to generate a typical dbmlsync command line. The command line includes the -pi (ping) option as well as the -mn option to set the new MobiLink password (newPW). The new password will not be set if any of the required properties (Datasource, Publication, MLServerVersion, or MLUser) are missing from the synchronization object.

See also