Role Examples

Query for Role (Permission)

Query a permission profile.

[
  {
    "Action": "Query",
    "QueryType": "RoleAll",
    "DomainType": "Replicon.Domain.Role",
    "Args": []
  }
]

Query for Role (Permission) by Id

Query a permission profile by Id.

[
  {
    "Action": "Query",
    "QueryType": "RoleById",
    "DomainType": "Replicon.Domain.Role",
    "Args": [
      [
        2
      ]
    ]
  }
]

Query for Role (Permission) by Name

Query a permission profile with the name "Supervisor".

[
  {
    "Action": "Query",
    "QueryType": "RoleByName",
    "DomainType": "Replicon.Domain.Role",
    "Args": [
      "Supervisor"
    ]
  }
]