This function returns one of the following values of the am_status_t enumeration (defined in the <am_types.h> header file):
If the evaluation was performed successfully and access is allowed.
If the evaluation was not successfully completed due to insufficient memory being available.
If any of the url, action_name, env_parameter_map, or advices_map_ptr parameters is NULL or if client IP validation is enabled and the client_ip parameter is NULL.
If the specified session token does not refer to a currently valid session
If the policy information indicates that the user does not have permission to access the specified resource or any error is detected other than the ones listed above.