AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the UpdateUser operation. Updates user information.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.DirectoryServiceData.AmazonDirectoryServiceDataRequest
      Amazon.DirectoryServiceData.Model.UpdateUserRequest

Namespace: Amazon.DirectoryServiceData.Model
Assembly: AWSSDK.DirectoryServiceData.dll
Version: 3.x.y.z

Syntax

C#
public class UpdateUserRequest : AmazonDirectoryServiceDataRequest
         IAmazonWebServiceRequest

The UpdateUserRequest type exposes the following members

Constructors

NameDescription
Public Method UpdateUserRequest()

Properties

NameTypeDescription
Public Property ClientToken System.String

Gets and sets the property ClientToken.

A unique and case-sensitive identifier that you provide to make sure the idempotency of the request, so multiple identical calls have the same effect as one single call.

A client token is valid for 8 hours after the first request that uses it completes. After 8 hours, any request with the same client token is treated as a new request. If the request succeeds, any future uses of that token will be idempotent for another 8 hours.

If you submit a request with the same client token but change one of the other parameters within the 8-hour idempotency window, Directory Service Data returns an ConflictException.

This parameter is optional when using the CLI or SDK.

Public Property DirectoryId System.String

Gets and sets the property DirectoryId.

The identifier (ID) of the directory that's associated with the user.

Public Property EmailAddress System.String

Gets and sets the property EmailAddress.

The email address of the user.

Public Property GivenName System.String

Gets and sets the property GivenName.

The first name of the user.

Public Property OtherAttributes System.Collections.Generic.Dictionary<System.String, Amazon.DirectoryServiceData.Model.AttributeValue>

Gets and sets the property OtherAttributes.

An expression that defines one or more attribute names with the data type and value of each attribute. A key is an attribute name, and the value is a list of maps. For a list of supported attributes, see Directory Service Data Attributes.

Attribute names are case insensitive.

Public Property SAMAccountName System.String

Gets and sets the property SAMAccountName.

The name of the user.

Public Property Surname System.String

Gets and sets the property Surname.

The last name of the user.

Public Property UpdateType Amazon.DirectoryServiceData.UpdateType

Gets and sets the property UpdateType.

The type of update to be performed. If no value exists for the attribute, use ADD. Otherwise, use REPLACE to change an attribute value or REMOVE to clear the attribute value.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5