PISystems.CurrentUserId Property
- Last UpdatedSep 18, 2024
- PI System
- AF SDK 2024
- Developer
Gets the Id for the PISystems current identity.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.0.1156
Syntax
public string CurrentUserId { get; }
Public ReadOnly Property CurrentUserId As String Get Dim instance As PISystems Dim value As String value = instance.CurrentUserId
public: property String^ CurrentUserId { String^ get (); }
member CurrentUserId : string with get
Property Value
Type: StringThe Id of the PISystems current identity.
Remarks
If a ClaimsIdentity was used when initializing the object, the
Id will be pulled from the Claim list.
If connecting with OpenId connect and Current is set,
this will return the Id for the OpenId user. Otherwise this falls back
to GetCurrent()