Container for the parameters to the UpdateUser operation.
Updates the name and/or the path of the specified user.
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. |
Declaration Syntax
C# |
public class UpdateUserRequest : AmazonWebServiceRequest
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
UpdateUserRequest()()()() | Initializes a new instance of the UpdateUserRequest class | |
Equals(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 |
Gets and sets the property NewPath.
New path for the user. Include this parameter only if you're changing the user's path. | |
NewUserName |
Gets and sets the property NewUserName.
New name for the user. Include this parameter only if you're changing the user's name. | |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
UserName |
Gets and sets the property UserName.
Name of the user to update. If you're changing the name of the user, this is the original user name. | |
WithNewPath(String) | Obsolete.
Sets the NewPath property
| |
WithNewUserName(String) | Obsolete.
Sets the NewUserName property
| |
WithUserName(String) | Obsolete.
Sets the UserName property
|
Inheritance Hierarchy
Object | ||
AmazonWebServiceRequest | ||
UpdateUserRequest |