GET v2/ranches/{ranchGuid}/users/{userId}/permissions.json

Returns a user's ranch permissions

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

globally unique identifier

Required

ranchGuid

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

RanchUserPermissionWithWebAPIViewModel
NameDescriptionTypeAdditional information
Site

a list of permission models

Collection of RanchUserPermissionViewModel

None.

WebAPIAccess

if true, user has web API access

boolean

None.

ranchGuid

ranch GUID

globally unique identifier

None.

Response Formats

application/json, text/json, text/html

Sample:
{
  "Site": [
    {
      "FeatureId": 1,
      "FeatureName": "sample string 2",
      "PermissionId": 3
    },
    {
      "FeatureId": 1,
      "FeatureName": "sample string 2",
      "PermissionId": 3
    }
  ],
  "WebAPIAccess": true,
  "ranchGuid": "354c6331-c5fd-4f73-ae78-5dab4690c8d4"
}