Update User
| workmail_update_user | R Documentation |
Updates data for the user¶
Description¶
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.
Usage¶
workmail_update_user(OrganizationId, UserId, Role, DisplayName,
FirstName, LastName, HiddenFromGlobalAddressList, Initials, Telephone,
Street, JobTitle, City, Company, ZipCode, Department, Country, Office)
Arguments¶
OrganizationId[required] The identifier for the organization under which the user exists.
UserId[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
RoleUpdates the user role.
You cannot pass SYSTEM_USER or RESOURCE.
DisplayNameUpdates the display name of the user.
FirstNameUpdates the user's first name.
LastNameUpdates the user's last name.
HiddenFromGlobalAddressListIf enabled, the user is hidden from the global address list.
InitialsUpdates the user's initials.
TelephoneUpdates the user's contact details.
StreetUpdates the user's street address.
JobTitleUpdates the user's job title.
CityUpdates the user's city.
CompanyUpdates the user's company.
ZipCodeUpdates the user's zipcode.
DepartmentUpdates the user's department.
CountryUpdates the user's country.
OfficeUpdates the user's office.
Value¶
An empty list.
Request syntax¶
svc$update_user(
OrganizationId = "string",
UserId = "string",
Role = "USER"|"RESOURCE"|"SYSTEM_USER"|"REMOTE_USER",
DisplayName = "string",
FirstName = "string",
LastName = "string",
HiddenFromGlobalAddressList = TRUE|FALSE,
Initials = "string",
Telephone = "string",
Street = "string",
JobTitle = "string",
City = "string",
Company = "string",
ZipCode = "string",
Department = "string",
Country = "string",
Office = "string"
)