AFGlobalSettings.PreferOpenId Enumeration
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
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.2.0.7
Syntax
public enum PreferOpenId
Public Enumeration PreferOpenId Dim instance As AFGlobalSettings.PreferOpenId
public enum class PreferOpenId
type PreferOpenId
Members
| Member name | Value | Description | |
|---|---|---|---|
| Prompt | 0 | Will prompt for choice when first connecting. | |
| Never | 1 | Will use Windows authentication by default. | |
| Always | 2 | Will use OIDC authentication by default. |