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.