AFGlobalSettings.PreferOpenId Enumeration
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- 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.1.1.1182
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. |