GET {authenticationKey}/{version}/Accounts/{userPublicKey}/EffectivePermissions

Gets back a user's effective permissions.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userPublicKey

globally unique identifier

Required

authenticationKey

string

None.

version

string

None.

Body Parameters

None.

Response Information

Resource Description

SystemUserModel

Collection of OutputAssignedPermissionModel
NameDescriptionTypeAdditional information
DisplayName

string

Max length: 256

Name

string

Required

Max length: 64

Tag

string

Max length: 10240

Response Formats

application/json, text/json

Sample:
[
  {
    "DisplayName": "sample string 1",
    "Name": "sample string 2",
    "Tag": "sample string 3"
  },
  {
    "DisplayName": "sample string 1",
    "Name": "sample string 2",
    "Tag": "sample string 3"
  }
]

text/html

Sample:
[{"DisplayName":"sample string 1","Name":"sample string 2","Tag":"sample string 3"},{"DisplayName":"sample string 1","Name":"sample string 2","Tag":"sample string 3"}]

application/xml, text/xml

Sample:
<ArrayOfOutputAssignedPermissionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Toluna.TEF.Common.ViewModels.Membership">
  <OutputAssignedPermissionModel>
    <Name>sample string 2</Name>
    <Tag>sample string 3</Tag>
    <DisplayName>sample string 1</DisplayName>
  </OutputAssignedPermissionModel>
  <OutputAssignedPermissionModel>
    <Name>sample string 2</Name>
    <Tag>sample string 3</Tag>
    <DisplayName>sample string 1</DisplayName>
  </OutputAssignedPermissionModel>
</ArrayOfOutputAssignedPermissionModel>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.