Previous page

Next page

Locate page in Contents

Print this page

set_user_password

Summary:

Sets a user password in a Container, creating the user if he/she doesn't exist.

Request specification:

Name

Min/Max

Type

Description

set_user_password

 

 

 

{

 

 

 

eid

1..1

eid_type

Server ID.

name

0..1

string

User name. If not specified, the default user with administrative privileges is used.

password

1..1

base64Binary

New password.

}

 

 

 

Returns:

OK/Error

Description:

To set a user password, a Container doesn't have to be running. If it is stopped, the Container private area will be automatically mounted and then unmounted on completion. If the user doesn't exist, a new user will be added to the user registry using the supplied name and password.

Example:

<packet version="4.0.0" id="2">

<target>vzaenvm</target>

<data>

<vzaenvm>

<set_user_password>

<eid>6dbd99dc-f212-45de-a5f4-ddb78a2b5280</eid>

<name>johndoe</name>

<password>bXlwYXNz</password>

</set_user_password>

</vzaenvm>

</data>

</packet>

Please send us your feedback on this help page