umSetUserPasswordGoAhead WebServer APIGoAhead EMF

Synopsis

Set the user password.

Prototype

 #include "um.h"

 int umSetUserPassword(char_t * user, char_t * password);

Parameters

useruser ID
passwordunencrypted user password

Description

Password is stored in database in an encrypted form.

Return Value

umSetUserPassword returns 0 if successful, or -1 on error.

Example

int nCheck = umSetUserPassword(T("gilbert"), T("grape"));

See Also

umGetUserPassword()