umGetUserPasswordGoAhead WebServer APIGoAhead EMF

Synopsis

Obtain a pointer to the user password.

Prototype

 #include "um.h"

 char_t* umGetUserPassword(char_t * user)

Parameters

user user ID

Description

Persisted password is decrypted before being returned by the function. Returned password must be deleted by the bfree function.

Return Value

umGetUserPassword returns NULL if there is an error, or a pointer to a new copy of the password on success.

Example

char_t * pwd = umGetUserPassword("misterripley");

See Also

umSetUserPassword, umAddUser, bfree