FormsLoginPage.SignIn Method

Active Directory Federation Services 2.0
Attempts to sign in to the STS with a user name and password.


Namespace: Microsoft.IdentityServer.Web.UI
Assembly: Microsoft.IdentityServer (in Microsoft.IdentityServer)

'Usage
Dim userName As String
Dim password As String

Me.SignIn(userName, password)

protected:
void SignIn (
	String^ userName, 
	String^ password
)
protected void SignIn (
	String userName, 
	String password
)
protected function SignIn (
	userName : String, 
	password : String
)

Parameters

userName

The user name to use to log in to the STS.

password

The password to use to log in to the STS.

Exception typeCondition
AuthenticationFailedException

username is null.

-or-

The attempt to authenticate with the user name and password fails.

For more information about this class and code samples, see FormsLoginPage Class Overview.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Server 2008, Windows Server 2008 R2

Target Platforms

Windows Server 2008, Windows Server 2008 R2



Community Additions

Show: