Export (0) Print
Expand All

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 bool IsConfirmed(
	string userName
)

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 null 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.

  • Medium trust for the immediate caller. This member can be used by partially trusted code.
Show:
© 2015 Microsoft