ESAPI-C 1.0
The OWASP Enterprise Security API for C
|
A User module implementation. More...
#include <string.h>
#include "user.h"
Go to the source code of this file.
Functions | |
void | add_role (user *u, char *role) |
void | add_roles (user *u, char **roles) |
void | remove_role (user *u, char *role) |
int | is_user_in_role (user *u, char *role) |
int | change_user_password (user *u, char *new_passwd1, char *new_passwd2) |
char * | reset_password (user *u) |
int | lock_user (user *u) |
Get the user id for the given user. | |
int | unlock_user (user *u) |
Unlocks the user. |
A User module implementation.
Definition in file user.c.
int lock_user | ( | user * | u | ) |