Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

PIConnectionException.IsSecurityException Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
PIConnectionException.IsSecurityException Property
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: Boolean
If , 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.

Version Information

AFSDK


See Also

In This Topic
TitleResults for “How to create a CRG?”Also Available in