SimpleMembershipProvider.IsConfirmed Method

Returns a value that indicates whether the user account has been confirmed by the provider.

Namespace:  WebMatrix.WebData
Assembly:  WebMatrix.WebData (in WebMatrix.WebData.dll)

public override function IsConfirmed(
	userName : String
) : boolean

Parameters

userName
Type: System.String
The user name.

Return Value

Type: System.Boolean
true if the user account has been confirmed; otherwise, false.

ExceptionCondition
ArgumentException

userName is a null reference (Nothing in Visual Basic) or empty.

InvalidOperationException

The SimpleMembershipProvider class was not initialized using a call to the InitializeDatabaseConnection() method.

This method checks whether the user was previously confirmed by a call to the ConfirmAccount(String) method.

Show: