Updates data for the user. To have the latest information, it must be preceded by a describe_user
call. The dataset in the request should be the one expected when performing another describe_user
call.
See https://www.paws-r-sdk.com/docs/workmail_update_user/ for full documentation.
workmail_update_user(
OrganizationId,
UserId,
Role = NULL,
DisplayName = NULL,
FirstName = NULL,
LastName = NULL,
HiddenFromGlobalAddressList = NULL,
Initials = NULL,
Telephone = NULL,
Street = NULL,
JobTitle = NULL,
City = NULL,
Company = NULL,
ZipCode = NULL,
Department = NULL,
Country = NULL,
Office = NULL,
IdentityProviderUserId = NULL
)
[required] The identifier for the organization under which the user exists.
[required] The identifier for the user to be updated.
The identifier can be the UserId, Username, or email. The following identity formats are available:
User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
Email address: user@domain.tld
User name: user
Updates the user role.
You cannot pass SYSTEM_USER or RESOURCE.
Updates the display name of the user.
Updates the user's first name.
Updates the user's last name.
If enabled, the user is hidden from the global address list.
Updates the user's initials.
Updates the user's contact details.
Updates the user's street address.
Updates the user's job title.
Updates the user's city.
Updates the user's company.
Updates the user's zip code.
Updates the user's department.
Updates the user's country.
Updates the user's office.
User ID from the IAM Identity Center. If this parameter is empty it will be updated automatically when the user logs in for the first time to the mailbox associated with WorkMail.