GetSecurityIdentitiesForUser
GET assetservers/{webId}/securityidentities

Retrieve security identities for a specific user.

URL Parameters

Status Codes

200: A list of security identities for the specified user.

400: Unsupported security item; an invalid or local account is specified as the user identity.

401: Access denied for the specified user identity.

502: Failed to retrieve the specified user identity.

Sample Response

{
  "Items": [
    {
      "WebId": "I1SIDqD5loBNH0erqeqJodtALASe6l8zgYokqdeeFilFI9tw",
      "Id": "f3a5ee49-1838-4aa2-9d79-e16294523db7",
      "Name": "MySecurityIdentity",
      "Description": "",
      "Path": "\\\\MyAssetServer\\SecurityIdentities[MySecurityIdentity]",
      "IsEnabled": true,
      "Links": {
        "Self": "https://localhost.osisoft.int/piwebapi/securityidentities/I1SIDqD5loBNH0erqeqJodtALASe6l8zgYokqdeeFilFI9tw"
      }
    },
    {
      "WebId": "I1SIDqD5loBNH0erqeqJodtALASe6l8zgYokqdeeFilFI9tw",
      "Id": "f3a5ee49-1838-4aa2-9d79-e16294523db7",
      "Name": "MySecurityIdentity",
      "Description": "",
      "Path": "\\\\MyAssetServer\\SecurityIdentities[MySecurityIdentity]",
      "IsEnabled": true,
      "Links": {
        "Self": "https://localhost.osisoft.int/piwebapi/securityidentities/I1SIDqD5loBNH0erqeqJodtALASe6l8zgYokqdeeFilFI9tw"
      }
    }
  ],
  "Links": {}
}
Enabling Operational Intelligence