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.

Namespace: Amazon.IdentityManagement.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class UpdateUserRequest : AmazonWebServiceRequest
Public Class UpdateUserRequest _
	Inherits AmazonWebServiceRequest
public ref class UpdateUserRequest : public AmazonWebServiceRequest

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
UpdateUserRequest()()()()
Initializes a new instance of the UpdateUserRequest class
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
NewPath
New path for the user. Include this parameter only if you're changing the user's path.

Constraints:

Length
1 - 512
Pattern
(\u002F)|(\u002F[\u0021-\u007F]+\u002F)

NewUserName
New name for the user. Include this parameter only if you're changing the user's name.

Constraints:

Length
1 - 64
Pattern
[\w+=,.@-]*

ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
UserName
Name of the user to update. If you're changing the name of the user, this is the original user name.

Constraints:

Length
1 - 128
Pattern
[\w+=,.@-]*

WithNewPath(String)
Sets the NewPath property
WithNewUserName(String)
Sets the NewUserName property
WithUserName(String)
Sets the UserName property

Inheritance Hierarchy

System..::..Object
  Amazon.Runtime..::..AmazonWebServiceRequest
    Amazon.IdentityManagement.Model..::..UpdateUserRequest

See Also