Previous page

Next page

Locate page in Contents

Print this page

authenticate

Summary:

Verify user authenticity for the specified username and password.

Request specification:

Name

Min/Max

Type

Description

authenticate

0..1

 

 

{

 

 

 

name

1..1

string

User name.

password

1..1

base64Binary

Password.

type

0..1

string

Authentication type.

Possible values:

system (default) -- local system account.

system_admin -- system administrator.

system_admin_group -- a user belonging to the System Administrators group.

}

 

 

 

Returns:

Name

Min/Max

Type

Description

token

0..1

tokenType

Authentication results.

Example:

Authenticating the user root.

Input

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

<target>userm</target>

<data>

<userm>

<authenticate>

<name>root</name>

<password>bXlwYXNz</password>

</authenticate>

</userm>

</data>

</packet>

Output

<?xml version="1.0" encoding="UTF-8"?><ns1:packet xmlns:ns2="http://www.swsoft.com/webservices/vzl/4.0.0/userm" xmlns:ns3="http://www.swsoft.com/webservices/vzl/4.0.0/types" xmlns:ns1="http://www.swsoft.com/webservices/vzl/4.0.0/protocol" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="16c4601384etf3erf08" time="2007-03-16T23:04:10+0000" priority="0" version="4.0.0">

<ns1:origin>userm</ns1:origin>

<ns1:target>vzclient3</ns1:target>

<ns1:dst>

<director>gend</director>

</ns1:dst>

<ns1:data>

<ns2:userm>

<ns2:token xsi:type="ns3:tokenType">

<ns3:user>AQUAAAAAA+hWW5a9ohIJQ6S9aykBIAAAAAAAAA==</ns3:user>

<ns3:groups>

<ns3:sid>AQUAAAAAA+hWW5a9ohIJQ6S9aykAIAAAAAAAAA==</ns3:sid>

<ns3:sid>AQUAAAAAA+hWW5a9ohIJQ6S9aykAIAAAAQAAAA==</ns3:sid>

<ns3:sid>AQUAAAAAA+hWW5a9ohIJQ6S9aykAIAAACgAAAA==</ns3:sid>

<ns3:sid>AQUAAAAAA+hWW5a9ohIJQ6S9aykAIAAAAgAAAA==</ns3:sid>

<ns3:sid>AQUAAAAAA+hWW5a9ohIJQ6S9aykAIAAAAwAAAA==</ns3:sid>

<ns3:sid>AQUAAAAAA+hWW5a9ohIJQ6S9aykAIAAABAAAAA==</ns3:sid>

<ns3:sid>AQUAAAAAA+hWW5a9ohIJQ6S9aykAIAAABgAAAA==</ns3:sid>

<ns3:sid>AQUAAAAAA+hWW5a9ohIJQ6S9aykBIAAAAAAAAA==</ns3:sid>

</ns3:groups>

<ns3:deny_only_sids/>

<ns3:privileges/>

</ns2:token>

</ns2:userm>

</ns1:data>

<ns1:src>

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

</ns1:src>

</ns1:packet>

Please send us your feedback on this help page