Previous page

Next page

Locate page in Contents

Print this page

edit_user

Summary:

Modifies an existing user.

Request specification:

Name

Min/Max

Type

Description

edit_user

1..1

auth_nameType

The auth_nameType portion of the request specification is used to specify the name/domain/realm information about the user that you would like to modify.

{

 

 

 

user

1..1

sp_modType

The new user information. Includes the user name and the user attributes. The attribute values can be added, deleted, or replaced based on the specified operation type. See sp_modType for details.

password

0..1

base64Binary

New password.

}

 

 

 

Returns:

OK/Error.

Example:

Modifying the existing user name and the value of the description attribute.

Input

<packet version="4.0.0">

<target>authm</target>

<data>

<authm>

<edit_user>

<name>VGVzdF9Vc2Vy</name>

<realm>3e761571-6607-1344-a064-a42679da8ed9</realm>

<user>

<name>Sm9obiBEb2U=</name>

<data>

<mod>

<name>description</name>

<value>Sm9obiBEb2UgdXNlcg==</value>

<op>2</op>

</mod>

</data>

</user>

</edit_user>

</authm>

</data>

</packet>

Output

<?xml version="1.0" encoding="UTF-8"?><ns1:packet xmlns:ns1="http://www.swsoft.com/webservices/vzl/4.0.0/protocol" xmlns:ns2="http://www.swsoft.com/webservices/vzl/4.0.0/authm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="14c460a9eeft7e87r350" time="2007-03-21T13:13:36+0000" priority="0" version="4.0.0">

<ns1:origin>authm</ns1:origin>

<ns1:target>vzclient8</ns1:target>

<ns1:dst>

<ns1:director>gend</ns1:director>

</ns1:dst>

<ns1:data>

<ns2:authm>

<ns1:ok/>

</ns2:authm>

</ns1:data>

<ns1:src>

<ns1:director>gend</ns1:director>

</ns1:src>

</ns1:packet>

Please send us your feedback on this help page