nm_iam_state_user_set_role()

DESCRIPTION

Set role for the specified user.

DECLARATION

bool nm_iam_state_user_set_role(struct nm_iam_user* user, const char* roleId)

PARAMETERS

user:
[in] the username of the user
role:
[in] the role id to set for the user

RETURN VALUES

true iff operation completed successfully

EXAMPLES

None.