Person.GetByUserName
Summary
Returns basic information about the person with the given username.
Signatures
- Web Service Method Signature
- Person GetByUserName(string apiKey, string site, string userName)
- REST Signature
- /rest/person/GetByUserName?apiKey={apiKey}&site={site}&userName={id}
Return Value
The person with the given username.
Arguments
- apiKey
Your API key.
For more information see here.
- site
The site the API should be executed against, e.g. www.ditto.net.
- userName
The username of the person to get.
REST Example
http://api.ditto.net/rest/person/GetByUserName?apiKey=xxxx&site=www.ditto.net&userName=Mike
Response Example
<Person xmlns="http://www.ditto.net" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<DittoUrl>http://www.ditto.net/Members/Mike/</DittoUrl>
<Id>2</Id>
<Slug>Mike</Slug>
<UserName>Mike</UserName>
</Person>