Applications - Role Assignments Get

List all role assignments of the specified blockchain application. Users who are Workbench administrators get all role assignments. Non-Workbench administrators get all their role assignments. Roles are specified in the Workbench application configuration and can be retrieved from GET /applications/{applicationID}. Also, user information can be retrieved from GET /users/{userID}.

GET /api/v2/applications/{applicationId}/roleAssignments
GET /api/v2/applications/{applicationId}/roleAssignments?applicationRoleId={applicationRoleId}&top={top}&skip={skip}&sortBy={sortBy}

URI Parameters

Name In Required Type Description
applicationId
path True
  • integer
int32

The id of the configuration

applicationRoleId
query
  • integer
int32

The id of the application role

top
query
  • integer
int32

The maximum number of entries to return in the result set.

skip
query
  • integer
int32

The number of entries to skip in the result set.

sortBy
query
  • string

The field to sort

Responses

Name Type Description
200 OK

OK

204 No Content

No Content

Definitions

RoleAssignment
RoleAssignmentList
User
UserChainMapping

RoleAssignment

Name Type Description
applicationRoleId
  • integer
id
  • integer
user

RoleAssignmentList

Name Type Description
nextLink
  • string
roleAssignments

User

Name Type Description
emailAddress
  • string
externalID
  • string
firstName
  • string
lastName
  • string
userChainMappings
userID
  • integer

UserChainMapping

Name Type Description
chainBalance
  • number
chainIdentifier
  • string
connectionID
  • integer
userChainMappingID
  • integer
userID
  • integer