AFGlobalSettings.IgnoreThreadCurrentPrincipal Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
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: BooleanThis setting determines if Initializing connections should respect settings on the current thread or utilize only values directly passed in. The default value is .