Share via


SimpleMembershipProvider.IsConfirmed(String) Method

Definition

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

public override bool IsConfirmed (string userName);
override this.IsConfirmed : string -> bool
Public Overrides Function IsConfirmed (userName As String) As Boolean

Parameters

userName
String

The user name.

Returns

true if the user account has been confirmed; otherwise, false.

Exceptions

userName is null or empty.

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

Applies to