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

AF SDK Reference

AFSelectAuthentication Constructor

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFSelectAuthentication Constructor
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.1.1.1182

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.

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