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 UserPermissionName | Description | Type | Additional information |
---|---|---|---|
UserId | globally unique identifier |
None. |
|
ApplicationAlias | string |
None. |
|
Permission | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "UserId": "173d7991-b179-4c5e-8e91-fe9ca8fa8c63", "ApplicationAlias": "sample string 2", "Permission": "sample string 3" }, { "UserId": "173d7991-b179-4c5e-8e91-fe9ca8fa8c63", "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>173d7991-b179-4c5e-8e91-fe9ca8fa8c63</_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>173d7991-b179-4c5e-8e91-fe9ca8fa8c63</_x003C_UserId_x003E_k__BackingField> </UserPermission> </ArrayOfUserPermission>