GET api/Permissions/{permissionId}/Assignments?pageSize={pageSize}&pageOffset={pageOffset}

Gets the permission assignments for the permission.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
permissionId

The permission identifier.

integer

Required

pageSize

The page size.

integer

Required

pageOffset

The page offset.

integer

Required

Body Parameters

None.

Response Information

Resource Description

A list of permission assignment models.

Collection of ESignSystems.SmartSAFE.Models.Security.PermissionAssignmentModel
NameDescriptionTypeAdditional information
PermissionAssignmentId

Gets or sets the permission assignment identifier.

integer

None.

PermissionId

Gets or sets the permission identifier.

integer

Required

UserId

Gets or sets the user identifier.

integer

None.

UserName

Gets or sets the user's username.

string

Max length: 256

FirstName

Gets or sets the user's first name.

string

Max length: 50

LastName

Gets or sets the user's last name.

string

Max length: 50

Email

Gets or sets the user's email.

string

Max length: 256

OrganizationName

Gets or sets the organization name.

string

None.

ClientName

Gets or sets the client name.

string

None.

IsDeleted

Gets or sets a value indicating whether the permission assignment model was deleted.

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "PermissionAssignmentId": 1,
    "PermissionId": 1,
    "UserId": 1,
    "UserName": "sample string 1",
    "FirstName": "sample string 2",
    "LastName": "sample string 3",
    "Email": "sample string 4",
    "OrganizationName": "sample string 5",
    "ClientName": "sample string 6",
    "IsDeleted": true
  },
  {
    "PermissionAssignmentId": 1,
    "PermissionId": 1,
    "UserId": 1,
    "UserName": "sample string 1",
    "FirstName": "sample string 2",
    "LastName": "sample string 3",
    "Email": "sample string 4",
    "OrganizationName": "sample string 5",
    "ClientName": "sample string 6",
    "IsDeleted": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfPermissionAssignmentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ESignSystems.SmartSAFE.Models.Security">
  <PermissionAssignmentModel>
    <ClientName>sample string 6</ClientName>
    <Email>sample string 4</Email>
    <FirstName>sample string 2</FirstName>
    <IsDeleted>true</IsDeleted>
    <LastName>sample string 3</LastName>
    <OrganizationName>sample string 5</OrganizationName>
    <PermissionAssignmentId>1</PermissionAssignmentId>
    <PermissionId>1</PermissionId>
    <UserId>1</UserId>
    <UserName>sample string 1</UserName>
  </PermissionAssignmentModel>
  <PermissionAssignmentModel>
    <ClientName>sample string 6</ClientName>
    <Email>sample string 4</Email>
    <FirstName>sample string 2</FirstName>
    <IsDeleted>true</IsDeleted>
    <LastName>sample string 3</LastName>
    <OrganizationName>sample string 5</OrganizationName>
    <PermissionAssignmentId>1</PermissionAssignmentId>
    <PermissionId>1</PermissionId>
    <UserId>1</UserId>
    <UserName>sample string 1</UserName>
  </PermissionAssignmentModel>
</ArrayOfPermissionAssignmentModel>