SynopsisAdd an access limit to the User Management database in the Access Limit table. Prototype
#include "um.h"
int umAddAccessLimit(char_t * url,
accessMeth_t am,
short secure,
char_t * group);Parameters
Description Access method can be one of: Access limits apply to URLs, upon which they are keyed. URLs can specify directories or filenames. If an access limit specifies a user group, then only members of that user group can have access to the URL. Return ValueumAddAccessLimit returns 0 if successful or -1 on error. Exampleint nCheck = umAddAccessLimit(T("/cgi-bin"), AM_DIGEST, 0, T("users"));See Also |