nm_iam_create_user()

DESCRIPTION

Create a user in the IAM state while the system is running.

DECLARATION

enum nm_iam_error nm_iam_create_user(struct nm_iam* iam, const char* username)

PARAMETERS

iam:
[in] IAM module to manipulate
username:
[in] the username of the new user

RETURN VALUES

NM_IAM_ERROR_USER_EXISTS if the specified user already exists. NM_IAM_ERROR_OK if the user was created successfully.

EXAMPLES

None.