umSetUserGroupGoAhead WebServer APIGoAhead EMF

Synopsis

Set the group name for the user.

Prototype

 #include "um.h"

 int umSetUserGroup(char_t * user, char_t * groupname);

Parameters

useruser ID
groupnamename of the user group

Description

int umSetUserGroup(char_t * user, char_t * groupname);

Return Value

This function returns 0 if successful, or -1 on error.

Example

int nCheck =	umSetUserGroup(T("spanky"), T("administrators"));

See Also

umGetUserGroup()