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

AF SDK Reference

AFGlobalSettings.IgnoreThreadCurrentPrincipal Property

AFGlobalSettings.IgnoreThreadCurrentPrincipal Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFGlobalSettings.IgnoreThreadCurrentPrincipal Property
Setting to determine if the AFSDK should attempt to use user settings set on CurrentPrincipal including user Id, Name, and access tokens.

Namespace:  OSIsoft.AF
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public static bool IgnoreThreadCurrentPrincipal { get; set; }
Public Shared Property IgnoreThreadCurrentPrincipal As Boolean
	Get
	Set

Dim value As Boolean

value = AFGlobalSettings.IgnoreThreadCurrentPrincipal

AFGlobalSettings.IgnoreThreadCurrentPrincipal = value
public:
static property bool IgnoreThreadCurrentPrincipal {
	bool get ();
	void set (bool value);
}
static member IgnoreThreadCurrentPrincipal : bool with get, set

Property Value

Type: Boolean
This setting determines if Initializing connections should respect settings on the current thread or utilize only values directly passed in. The default value is .

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0

See Also

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