SynopsisAdd a user to the user database. Prototype#include "um.h" int umAddUser (char_t * user, char_t * password, char_t * group, int prot, int enable) Parameters
DescriptionUser is added. The password, which is passed to this function in clear text, is XOR encrypted before persisting. Return Value0 if successful or -1 on error. ExamplenCheck = AddUser(T("misterripley"), T("talented"), T("admin"), FALSE, TRUE); See Also
| |||||||||||||