readUser Operation
With readUser operation you can view the configuration of an existing user.
Example
SOAP request for readUser Operation:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:user="UserService"> <soapenv:Header/> <soapenv:Body> <user:readUser> <!--Optional:--> <user:authToken>admin/admin123</user:authToken> <!--Optional:--> <user:loginName>hello1</user:loginName> </user:readUser> </soapenv:Body> </soapenv:Envelope>
Example
SOAP response for readUser Operation:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header/> <soapenv:Body> <ns:readUserResponse xmlns:ns="UserService"> <ns:return xsi:type="ax233:UserResponse" xmlns:ax233="http://user.services.logapp.loglogic.com/xsd" xmlns:ax234="http://services.logapp.loglogic.com/xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ax234:authToken xsi:nil="true"/> <ax234:resultCount>1</ax234:resultCount> <ax234:statusCode>2000</ax234:statusCode> <ax234:statusMessage>Successful</ax234:statusMessage> <ax234:summaryOnly>false</ax234:summaryOnly> <ax233:resultSet xsi:type="ax233:UserDetail"> <ax233:alerts xsi:nil="true"/> <ax233:authenticationType>Local</ax233:authenticationType> <ax233:devices>All General Syslog</ax233:devices> <ax233:email>hello1@test.com</ax233:email> <ax233:enabled>Yes</ax233:enabled> <ax233:firstName>f1</ax233:firstName> <ax233:groups xsi:nil="true"/> <ax233:lastName>l1</ax233:lastName> <ax233:password/> <ax233:phone>123-456-7890</ax233:phone> <ax233:userId>1711576871403523</ax233:userId> <ax233:username>hello1</ax233:username> </ax233:resultSet> </ns:return> </ns:readUserResponse> </soapenv:Body> </soapenv:Envelope>
Copyright © 2020. Cloud Software Group, Inc. All Rights Reserved.