AFPromptForCredential.AuthenticationMode Property
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
The selected authentication mode in the dialog.
Namespace: OSIsoft.AF.UI
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public PIAuthenticationMode AuthenticationMode { get; set; }
Public Property AuthenticationMode As PIAuthenticationMode Get Set Dim instance As AFPromptForCredential Dim value As PIAuthenticationMode value = instance.AuthenticationMode instance.AuthenticationMode = value
public: property PIAuthenticationMode AuthenticationMode { PIAuthenticationMode get (); void set (PIAuthenticationMode value); }
member AuthenticationMode : PIAuthenticationMode with get, set
Property Value
Type: PIAuthenticationModeThe initial selection for the authentication mode in the dialog can be set using this property before the dialog is displayed. After the dialog is closed, this property will return the selected authentication mode from the dialog. The default value is WindowsAuthentication.