Sets a new password for the current MobiLink user.
MLSynchronization, MLSync, and ULSync controls
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. |
Integer. Returns 1 for succes and -1 for failure.
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.