umSetAccessLimitMethod | GoAhead
WebServer API | GoAhead
EMF |
Synopsis Set the access method for the URL. Prototype #include "um.h"
int umSetAccessLimitMethod(char_t * url, accessMeth_t am); Parametersurl | URL name | am | access method as described below |
Description Access method can be one of: AM_NONE - URL may not be accessed AM_FULL - no authorization is required for the URL AM_BASIC - URL requires at least basic authentication, AM_DIGEST - URL requires at least digest authentication, AM_INVALID - not a valid access method Return Value umSetAccessLimitMethod returns 0 if successful, or -1 on error. Exampleint nCheck = umSetAccessLimitMethod(T("picture.gif"), AM_NONE); See Also umGetAccessLimitMethod() |