API Guide

Table Of Contents
Table 17. Attributes
Attribute Description
Id Uniquely identifies the resource within the collection.
UserTypeId Type of user.
DirectoryServiceId Directory service ID.
Description Description for the user.
Name Name of the user. This name is the same as user name.
Password Password for the user. When retrieving the details, Password
is displayed as blank.
UserName User name of the account.
RoleId Role for the account.
Locked Indicates if the account is locked or unlocked.
IsBuiltin Indicates if the account is an in-built account.
Enabled Indicates if the account enabled or disabled.
/api/AccountService/Accounts(Id)
This URI represents a specific account within the collection.
GET method for Accounts(ID)
This method returns the details of a specific account within the collection.
Description
Returns the details of a specific account.
Privilege VIEW
HTTP response
codes
200
Example
response body
{
"@odata.context": "$metadata#AccountService.Account/$entity",
"@odata.id": "/api/AccountService/Accounts('1814')",
"Id": "1814",
"UserTypeId": 1,
"DirectoryServiceId": 0,
"Description": "root",
"Name": "root",
"Password": null,
"UserName": "root",
"RoleId": "10",
"Locked": false,
"IsBuiltin": true,
"Enabled": true,
"Permissions": [
{
"@odata.id": "/api/AccountService/Accounts('1814')/Permissions"
}
]
}
42 Application settings