GET api/users/current/permissions

Gets a collection of permissions related to the currently logged in User.



Request Information

URI Parameters

None.



Body Parameters

None.



Response Information

Resource Description

The requested user permissions.

Collection of UserPermissionViewModel

NameDescriptionTypeAdditional information
EntityAttributeId

integer

None.

EntityCategoryId

integer

None.

EntityDefinitionId

integer

None.

FileDirectoryId

integer

None.

Id

integer

None.

PermissionId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "EntityAttributeId": 1,
    "EntityCategoryId": 1,
    "EntityDefinitionId": 1,
    "FileDirectoryId": 1,
    "Id": 1,
    "PermissionId": 2
  },
  {
    "EntityAttributeId": 1,
    "EntityCategoryId": 1,
    "EntityDefinitionId": 1,
    "FileDirectoryId": 1,
    "Id": 1,
    "PermissionId": 2
  }
]

application/xml, text/xml

Sample:
<ArrayOfUserPermissionViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VobeSoft.Models.ViewModels">
  <UserPermissionViewModel>
    <EntityAttributeId>1</EntityAttributeId>
    <EntityCategoryId>1</EntityCategoryId>
    <EntityDefinitionId>1</EntityDefinitionId>
    <FileDirectoryId>1</FileDirectoryId>
    <Id>1</Id>
    <PermissionId>2</PermissionId>
  </UserPermissionViewModel>
  <UserPermissionViewModel>
    <EntityAttributeId>1</EntityAttributeId>
    <EntityCategoryId>1</EntityCategoryId>
    <EntityDefinitionId>1</EntityDefinitionId>
    <FileDirectoryId>1</FileDirectoryId>
    <Id>1</Id>
    <PermissionId>2</PermissionId>
  </UserPermissionViewModel>
</ArrayOfUserPermissionViewModel>