SecurityIdentity GetSecurityMappings
- Last UpdatedJun 15, 2023
- 1 minute read
- PI System
- PI Web API Reference
- Developer
SecurityIdentity GetSecurityMappings
Get security mappings for the specified security identity.
Request
GET securityidentities/{webId}/securitymappings
URL Parameters
-
webId The ID of the security identity. See WebID for more information.
-
selectedFields List of fields to be returned in the response, separated by semicolons (;). If this parameter is not specified, all available fields will be returned. See Selected Fields for more information.
-
webIdType Optional parameter. Used to specify the type of WebID. Useful for URL brevity and other special cases. Default is the value of the configuration item "WebIDType". See WebID Type for more information.
Status Codes
200: A list of security mappings for the specified security identity.
Sample Response Body
{
"Items": [
{
"WebId": "I1SMDqD5loBNH0erqeqJodtALAgu8UrMAZB0qWp9H7C4TAXQ",
"Id": "ac14ef82-19c0-4a07-96a7-d1fb0b84c05d",
"Name": "MySecurityMapping",
"Description": "",
"Path": "\\\\MyAssetServer\\SecurityMappings[MySecurityMapping]",
"Account": "domain\\user",
"SecurityIdentityWebId": "I1SIEDqD5loBNH0erqeqJodtALAYIKyyz2F5BGAxQAVXYRDBAGyPedZG1sUmxOOclp3Flwg",
"Links": {
"Self": "https://localhost.osisoft.int/piwebapi/securitymappings/I1SMDqD5loBNH0erqeqJodtALAgu8UrMAZB0qWp9H7C4TAXQ"
}
},
{
"WebId": "I1SMDqD5loBNH0erqeqJodtALAgu8UrMAZB0qWp9H7C4TAXQ",
"Id": "ac14ef82-19c0-4a07-96a7-d1fb0b84c05d",
"Name": "MySecurityMapping",
"Description": "",
"Path": "\\\\MyAssetServer\\SecurityMappings[MySecurityMapping]",
"Account": "domain\\user",
"SecurityIdentityWebId": "I1SIEDqD5loBNH0erqeqJodtALAYIKyyz2F5BGAxQAVXYRDBAGyPedZG1sUmxOOclp3Flwg",
"Links": {
"Self": "https://localhost.osisoft.int/piwebapi/securitymappings/I1SMDqD5loBNH0erqeqJodtALAgu8UrMAZB0qWp9H7C4TAXQ"
}
}
],
"Links": {}
}