SynopsisSet the group name for the user. Prototype#include "um.h" int umSetUserGroup(char_t * user, char_t * groupname); Parameters
Descriptionint umSetUserGroup(char_t * user, char_t * groupname); Return ValueThis function returns 0 if successful, or -1 on error. Exampleint nCheck = umSetUserGroup(T("spanky"), T("administrators")); See Also |