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)
Namespace: Microsoft.IdentityServer.Web.UI
Assembly: Microsoft.IdentityServer (in Microsoft.IdentityServer)
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 type | Condition |
|---|---|
| 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 R2Target Platforms
Windows Server 2008, Windows Server 2008 R2
Community Additions
Show: