Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IsConfirmed Method

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:
virtual bool IsConfirmed(
	String^ userName
) override

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 nullptr 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:
© 2015 Microsoft