System UserInfo
- Last UpdatedJun 15, 2023
- 1 minute read
- PI System
- PI Web API Reference
- Developer
System UserInfo
Get information about the Windows identity used to fulfill the request. This depends on the service's authentication method and the credentials passed by the client. The impersonation level of the Windows identity is included. See Impersonation Level for more information.
Request
GET system/userinfo
Status Codes
200: Information about the current user.
204: No identity is present.
Sample Response Body
{
"IdentityType": "WindowsIdentity",
"Name": "MyDomain\\Username",
"IsAuthenticated": true,
"SID": "S-1-5-21-2083424470-1893017325-1469799231-71366",
"ImpersonationLevel": "None"
}