umSetGroupAccessMethodGoAhead WebServer APIGoAhead EMF

Synopsis

Set the default access method for the group.

Prototype

 #include "um.h"

 int umSetGroupAccessMethod(char_t * group, accessMeth_t am);

Parameters

groupgroup name
amaccess method

Description

Access method can be one of:
AM_NONE - Group has no access to anything at all
AM_FULL - Group has access all pages, no authorization required
AM_BASIC - group requires at least basic authentication,
AM_DIGEST - group requires at least digest authentication,
AM_INVALID - not a valid access method

Return Value

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

Example

int nCheck = umSetGroupAccessMethod(T("users"), AM_DIGEST);

See Also

umGetAccessMethodForURL()