PIConnectionException.IsSecurityException Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Indicates if the error indicates the user did not connect due to insufficient privileges.
Namespace: OSIsoft.AF.PI
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public bool IsSecurityException { get; }
Public ReadOnly Property IsSecurityException As Boolean Get Dim instance As PIConnectionException Dim value As Boolean value = instance.IsSecurityException
public: property bool IsSecurityException { bool get (); }
member IsSecurityException : bool with get
Property Value
Type: BooleanIf , indicates the exception was a result of insufficient privileges for any of the enabled authorization mechanisms. Authorization methods, such as Windows Integrated Security, PI Trust, or Explicit Login can be disabled on either the client or server.