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

RETURNS

true iff operation completed successfully