umUserCanAccessURLGoAhead WebServer APIGoAhead EMF

Synopsis

Determine if the user is allowed to access URL.

Prototype

 #include "um.h"

 bool_t umUserCanAccessURL(char_t * user, char_t * url);

Parameters

useruser ID
urlURL name

Description

bool_t umUserCanAccessURL(char_t * user, char_t * url);

Return Value

umUserCanAccessURL returns TRUE if successful, allowing the user to access the URL, or FALSE if otherwise.

Example

bool_t bOK = umUserCanAccessURL(T("squiggy"), T("adminform.exe"));

See Also

umAddAccessLimit(), umAddUser()