GET api/v3/Security/GetCurrentUsersRights

Gets the current users department rights

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

DepartmentRightsResult object with the department rights and group memberships

DepartmentRightsResultV3
NameDescriptionTypeAdditional information
Adm

Is the user a department admin

boolean

None.

VPii

Can the user view PII

boolean

None.

CCls

Can the user create calls

boolean

None.

ANot

Can the user add a note

boolean

None.

CMsg

Can the user create messages

boolean

None.

Grps

Groups in the department the user is a member of

Collection of GroupRightV3

None.

Response Formats

application/json

Sample:
{
  "Adm": true,
  "VPii": true,
  "CCls": true,
  "ANot": true,
  "CMsg": true,
  "Grps": [
    {
      "Gid": 1,
      "Adm": true
    },
    {
      "Gid": 1,
      "Adm": true
    }
  ]
}

application/xml, text/xml

Sample:
<DepartmentRightsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Resgrid.Web.Services.Controllers.Version3.Models.Security">
  <ANot>true</ANot>
  <Adm>true</Adm>
  <CCls>true</CCls>
  <CMsg>true</CMsg>
  <Grps>
    <GroupRight>
      <Adm>true</Adm>
      <Gid>1</Gid>
    </GroupRight>
    <GroupRight>
      <Adm>true</Adm>
      <Gid>1</Gid>
    </GroupRight>
  </Grps>
  <VPii>true</VPii>
</DepartmentRightsResult>