nm_iam_state_user_new()

DESCRIPTION

Create a new user with the specified username. The username must only use the character set: [‘a-z’, ‘0-9’,’_’,’-‘,’.’].

DECLARATION

struct nm_iam_user* nm_iam_state_user_new(const char* username)

PARAMETERS

username:
[in] The username. The string is copied into the user.

RETURNS

NULL iff the username was invalid or allocation failed