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

AF SDK Reference

AFGlobalSettings.PreferOpenId Enumeration

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFGlobalSettings.PreferOpenId Enumeration
Determine default authentication behavior when connecting to PI Data Archive and AF Servers.

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

Syntax

public enum PreferOpenId
Public Enumeration PreferOpenId

Dim instance As AFGlobalSettings.PreferOpenId
public enum class PreferOpenId
type PreferOpenId

Members

  Member nameValueDescription
Prompt0 Will prompt for choice when first connecting.
Never1 Will use Windows authentication by default.
Always2 Will use OIDC authentication by default.

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
Related Links
TitleResults for “How to create a CRG?”Also Available in