AFSession.UserName Property
- Last UpdatedJan 12, 2026
- 1 minute read
- PI System
- AF SDK 3.2.0
- Developer
The user name of the account which made the connection.
Namespace: OSIsoft.AF.Diagnostics
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public string UserName { get; }
Public ReadOnly Property UserName As String Get Dim instance As AFSession Dim value As String value = instance.UserName
public: property String^ UserName { String^ get (); }
member UserName : string with get