Share via


FormsSignInPage.IsLoginControlInValidState method

Tests to see if the information in the formsSignInControl is valid.

Namespace:  Microsoft.SharePoint.IdentityModel.Pages
Assembly:  Microsoft.SharePoint.IdentityModel (in Microsoft.SharePoint.IdentityModel.dll)

Syntax

'Declaration
Protected Overridable Function IsLoginControlInValidState ( _
    formsSignInControl As Login _
) As Boolean
'Usage
Dim formsSignInControl As Login
Dim returnValue As Boolean

returnValue = Me.IsLoginControlInValidState(formsSignInControl)
protected virtual bool IsLoginControlInValidState(
    Login formsSignInControl
)

Parameters

Return value

Type: System.Boolean
False if the username is null, empty or entirely formed of whitespaces. False if the password is null. True otherwise.

See also

Reference

FormsSignInPage class

FormsSignInPage members

Microsoft.SharePoint.IdentityModel.Pages namespace