| Visual Basic (Declaration) | |
|---|---|
Public Function New( _ ByVal userName As String, _ ByVal password As String, _ ByVal domain As String, _ ByVal isPersistent As Boolean _ ) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim userName As String Dim password As String Dim domain As String Dim isPersistent As Boolean Dim instance As New FormsAuthenticationLoginCredential(userName, password, domain, isPersistent) | |
| C# | |
|---|---|
public FormsAuthenticationLoginCredential( string userName, string password, string domain, bool isPersistent ) | |
| C++/CLI | |
|---|---|
public: FormsAuthenticationLoginCredential( String^ userName, String^ password, String^ domain, bool isPersistent ) | |
Parameters
- userName
- password
- domain
- isPersistent
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family