GET api/Account/UserInfo
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
UserInfoViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserName | string |
None. |
|
| UserId | string |
None. |
|
| HasRegistered | boolean |
None. |
|
| LoginProvider | string |
None. |
|
| Clients | Collection of string |
None. |
|
| Settings | Dictionary of string [key] and Object [value] |
None. |
|
| Permissions | Collection of string |
None. |
|
| IsPosUser | boolean |
None. |
|
| NeedsPasswordChange | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"UserName": "sample string 1",
"UserId": "sample string 2",
"HasRegistered": true,
"LoginProvider": "sample string 4",
"Clients": [
"sample string 1",
"sample string 2"
],
"Settings": {
"sample string 1": {},
"sample string 3": {}
},
"Permissions": [
"sample string 1",
"sample string 2"
],
"IsPosUser": true,
"NeedsPasswordChange": true
}
text/xml
Sample:
<UserInfoViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RightRez.Web.Api.Models.Account">
<Clients xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Clients>
<HasRegistered>true</HasRegistered>
<IsPosUser>true</IsPosUser>
<LoginProvider>sample string 4</LoginProvider>
<NeedsPasswordChange>true</NeedsPasswordChange>
<Permissions xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Permissions>
<Settings xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
</Settings>
<UserId>sample string 2</UserId>
<UserName>sample string 1</UserName>
</UserInfoViewModel>