AFSelectAuthentication Constructor
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Creates a new instance of the dialog used to prompt for
a user name and password.
Namespace: OSIsoft.AF.UI
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public AFSelectAuthentication( string title, List<PIAuthenticationMode> authModes, string description = null )
Public Sub New ( title As String, authModes As List(Of PIAuthenticationMode), Optional description As String = Nothing ) Dim title As String Dim authModes As List(Of PIAuthenticationMode) Dim description As String Dim instance As New AFSelectAuthentication(title, authModes, description)
public: AFSelectAuthentication( String^ title, List<PIAuthenticationMode>^ authModes, String^ description = nullptr )
new : title : string * authModes : List<PIAuthenticationMode> * ?description : string (* Defaults: let _description = defaultArg description null *) -> AFSelectAuthentication
Parameters
- title
- Type: SystemString
The dialog box title. - authModes
- Type: System.Collections.GenericListPIAuthenticationMode
List of PIAuthenticationMode that can be selected to determine the authentication type to use for the server. - description (Optional)
- Type: SystemString
The description displayed on the dialog box.
Remarks
This creates a new instance of the dialog used to select authentication modes used
by the server. It is used by the ShowDialog Overload
methods to prompt for the authentication mode to use for the connection to the server.