Class UpdateUserRequest
Class representing an update user request. See Tableau API Reference for documentation.
Namespace: Tableau.Migration.Api.Rest.Models.Requests
Assembly: Tableau.Migration.dll
Syntax
public class UpdateUserRequest : TableauServerRequest
Constructors
UpdateUserRequest()
The default parameterless constructor.
Declaration
public UpdateUserRequest()
UpdateUserRequest(string, string?, string?, string?, UserAuthenticationType?)
Builds the Update request for a user.
Declaration
public UpdateUserRequest(string newSiteRole, string? newFullName = null, string? newEmail = null, string? newPassword = null, UserAuthenticationType? newAuthentication = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | newSiteRole | The new site role for the user. |
| string | newFullName | (Optional) The new full name for the user. |
| string | newEmail | (Optional) The new email address for the user. |
| string | newPassword | (Optional) The new password for the user. |
| UserAuthenticationType? | newAuthentication | (Optional) The new authentication for the user. |
Properties
User
Gets or sets the user for the request.
Declaration
public UpdateUserRequest.UserType? User { get; set; }
Property Value
| Type | Description |
|---|---|
| UpdateUserRequest.UserType |