PIServer.CurrentUserIdentities Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Gets the list of PIIdentity identities of the person who is currently
logged on to the PIServer server.
Namespace: OSIsoft.AF.PI
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public IList<PIIdentity> CurrentUserIdentities { get; }
Public ReadOnly Property CurrentUserIdentities As IList(Of PIIdentity) Get Dim instance As PIServer Dim value As IList(Of PIIdentity) value = instance.CurrentUserIdentities
public: property IList<PIIdentity^>^ CurrentUserIdentities { IList<PIIdentity^>^ get (); }
member CurrentUserIdentities : IList<PIIdentity> with get
Property Value
Type: IListPIIdentityReturns the list of AFSecurityIdentity identities of the person who is currently logged on to the PIServer server.
Remarks
If not connected to the PISystem, then accessing this property will NOT
automatically connect to the server and will return .