Ifd:updatePasswordForUser

From dev.ifd-library.org

Jump to: navigation, search

API version 2

Function public String updatePasswordForUser (
                                   String user_guid,
                                   String new_password,
                                   String session_id)
                      throws IfdServerException

Function to update password for a user.

Input:

  • String user_guid The global unique identifier for the user.
  • String new_password The new password.
  • String session_id The session identifier for the active administrator.

Return: The number 1 (as string) if the update went well, the number 0 (as string) otherwise.

API version 3

Function public String updatePasswordForUser (
                                   String session_id,
                                   String user_guid,
                                   String new_password)
                      throws IfdServerException

EXPRESS Heading

QUERY FUNCTION updatePasswordForUser(
                     user_guid : STRING; 
                     new_password : STRING): IfdStringInformation;

The function updates database password of the specified IFD user.

Input:

  • String session_id - The session identifier for the active administrator.
  • String user_guid - user login
  • String new_password The new password.

Return:

  • String - Status of the change. ‘0’ if everything is OK. Other values – some error.


Back to the API

Comments: