ec_authz_id

March 26, 2020 Contributors

Name

ec_authz_id — Get the ID of the specified user

Synopsis

#include "security/auth_lookup.h"

| int **ec_authz_id** ( | authzinfo, |   |
|   | user, |   |
|   | roles, |   |
|   | session); |   |

struct ec_authz_info * <var class="pdparam">authzinfo</var>;
const char * <var class="pdparam">user</var>;
ec_ptr_array * <var class="pdparam">roles</var>;
Event * <var class="pdparam">session</var>;

Description

Note

This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.

Return Values

This function returns EC_AUTH_OK, EC_AUTH_FAIL or EC_AUTH_ERROR.

See Also

authz id