/
Auth_RevokeRight
Auth_RevokeRight
Description
Revokes the right of a specified user.
Files
auth.h / auth.c
Prototype
CPU_BOOLEAN Auth_RevokeRight (AUTH_RIGHT right, AUTH_USER *p_user, AUTH_USER *p_as_user, RTOS_ERR *p_err)
Arguments
right
Right to revoke.
p_user
Pointer to user object which right will be revoked.
p_as_user
Pointer to user that has the permission level to do the action.
p_err
Pointer to variable that will receive the return error code from this function.
Returned Value
DEF_OK
, if operation was successful.
DEF_FAIL
, otherwise.
Callers
Application.
Notes / Warnings
None.
Related content
Auth_GrantRight
Auth_GrantRight
More like this
AUTH_USER
AUTH_USER
More like this
Auth_ValidateCredentials
Auth_ValidateCredentials
More like this
Auth_CreateUser
Auth_CreateUser
More like this
Auth_GetUser
Auth_GetUser
More like this
Authentication User Manual
Authentication User Manual
More like this