/
Auth_CreateUser
Auth_CreateUser
Description
Create a user and fill the user structure provided.
Files
auth.h / auth.c
Prototype
CPU_BOOLEAN Auth_CreateUser (const CPU_CHAR *p_name, const CPU_CHAR *p_pwd, AUTH_USER *p_user, RTOS_ERR *p_err)
Arguments
p_name
NULL-terminated string containing the name of the user.
p_pwd
NULL-terminated string containing the password for this user.
p_user
Pointer to user object that will be filled by the function.
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_ValidateCredentials
Auth_ValidateCredentials
More like this
Auth_GetUser
Auth_GetUser
More like this
AUTH_USER
AUTH_USER
More like this
Auth_Init
Auth_Init
More like this
Auth_GrantRight
Auth_GrantRight
More like this
Authentication User Manual
Authentication User Manual
More like this