GET api/Gadget/GetAcl

Get the user permissions of authenticated user.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of UserPermission
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

ApplicationAlias

string

None.

Permission

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "UserId": "2e0b5f80-fe91-48ef-82ff-cb6c6fa02b0c",
    "ApplicationAlias": "sample string 2",
    "Permission": "sample string 3"
  },
  {
    "UserId": "2e0b5f80-fe91-48ef-82ff-cb6c6fa02b0c",
    "ApplicationAlias": "sample string 2",
    "Permission": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfUserPermission xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gosocket.SDK.Domain">
  <UserPermission>
    <_x003C_ApplicationAlias_x003E_k__BackingField>sample string 2</_x003C_ApplicationAlias_x003E_k__BackingField>
    <_x003C_Permission_x003E_k__BackingField>sample string 3</_x003C_Permission_x003E_k__BackingField>
    <_x003C_UserId_x003E_k__BackingField>2e0b5f80-fe91-48ef-82ff-cb6c6fa02b0c</_x003C_UserId_x003E_k__BackingField>
  </UserPermission>
  <UserPermission>
    <_x003C_ApplicationAlias_x003E_k__BackingField>sample string 2</_x003C_ApplicationAlias_x003E_k__BackingField>
    <_x003C_Permission_x003E_k__BackingField>sample string 3</_x003C_Permission_x003E_k__BackingField>
    <_x003C_UserId_x003E_k__BackingField>2e0b5f80-fe91-48ef-82ff-cb6c6fa02b0c</_x003C_UserId_x003E_k__BackingField>
  </UserPermission>
</ArrayOfUserPermission>