nm_iam_set_user_display_name()

DESCRIPTION

Set display name for the specified user.

DECLARATION

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

PARAMETERS

iam:
[in] IAM module to manipulate
username:
[in] the username of the user
displayName:
[in] the display name to set for the user

RETURNS

  • NM_IAM_ERROR_OK: if display name was set successfully for the user.
  • NM_IAM_ERROR_NO_SUCH_USER: if the specified user does not exist.
  • NM_IAM_ERROR_INVALID_ARGUMENT: if the display name was too long.