PIConnectionException.IsSecurityException Property
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- 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.2.0.7
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.