C# Class Amazon.IdentityManagement.Model.UpdateUserRequest

Container for the parameters to the UpdateUser operation.

Updates the name and/or the path of the specified User.

IMPORTANT: You should understand the implications of changing a User's path or name. For more information, see Renaming Users and Groups in Using AWS Identity and Access Management.

NOTE:To change a User name the requester must have appropriate permissions on both the source object and the target object. For example, to change Bob to Robert, the entity making the request must have permission on Bob and Robert, or must have permission on all (*). For more information about permissions, see Permissions and Policies.

Inheritance: Amazon.Runtime.AmazonWebServiceRequest
ファイルを表示 Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
UpdateUserRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

UpdateUserRequest ( string userName ) : System

Instantiates UpdateUserRequest with the parameterized properties

Private Methods

Method Description
IsSetNewPath ( ) : bool
IsSetNewUserName ( ) : bool
IsSetUserName ( ) : bool

Method Details

UpdateUserRequest() public method

Empty constructor used to set properties independently even when a simple constructor is available
public UpdateUserRequest ( ) : System
return System

UpdateUserRequest() public method

Instantiates UpdateUserRequest with the parameterized properties
public UpdateUserRequest ( string userName ) : System
userName string Name of the user to update. If you're changing the name of the user, this is the original user name. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
return System