[][src]Function zap_api::ajax_spider::scan_as_user

pub fn scan_as_user(
    service: &ZapService,
    contextname: String,
    username: String,
    url: String,
    subtreeonly: String
) -> Result<Value, ZapApiError>

Runs the spider from the perspective of a User, obtained using the given context name and user name. The parameter 'url' allows to specify the starting point for the spider, otherwise it's used an existing URL from the context (if any). The parameter 'subtreeOnly' allows to restrict the spider under a site's subtree (using the specified 'url').

This component is optional and therefore the API will only work if it is installed