umSetGroupPrivilege | GoAhead WebServer API | GoAhead EMF
## Synopsis Get the privilege mask for the user group. ## Prototype
     #include "um.h"

     int umSetGroupPrivilege(char_t * group, short privileges);
## Parameters
group | group name
privileges | privilege mask for the user group
## Description int umSetGroupPrivilege(char_t * group, short privileges); ## Return Value umSetGroupPrivilege returns 0 if successful, or -1 on error. ## Example
    int nCheck = umSetGroupPrivilege(T("users"), PRIV_READ  |  PRIV_WRITE );
### See Also umGetGroupPrivilege() ##