GetUsernamesByPersonRequest
To get the username(s) attached to a specified Person.
Properties
Name | Type | Required | Description |
---|---|---|---|
Person | PersonIdentifier | Required |
Exceptions
Exception | Severity | Code | Condition |
---|---|---|---|
ArgumentMissing | Critical | 10010001 | A required request input has not been specified. |
IdentifierDoesNotExist | Critical | 10010002 | Specified identifier does not exist. |
Examples
The following is an XML example of the GetUsernamesByPersonRequest sent to the Authentication.GetUsernames method.
<soapenv:Envelope xmlns:ns="http://schemas.gallup.com/oms/2010/10/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header /> <soapenv:Body> <ns:GetUsernames xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <ns:request i:type="a:GetUsernamesByPersonRequest" xmlns:a="http://schemas.gallup.com/oms/2010/10/Authentication"> <a:Person i:type="b:PersonIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers"> <b:PersonId>1</b:PersonId> </a:Person> </ns:request> </ns:GetUsernames> </soapenv:Body> </soapenv:Envelope>