user userRef checkPassword

Available for: Content Management Server

Task: Checks whether the user with the login login has the specified password.

Syntax:

user withLogin login checkPassword password

Function parameters:

  • password: A non-encrypted password.

Return value if successful: 1 if the encrypted password obtained from password matches the user’s encryptedPassword , otherwise 0.

Necessary permissions: none

Example:

CM>user withLogin jane checkPassword za1WpM
0