Export (0) Print
Expand All

ExtendedMembershipProvider::IsConfirmed Method

When overridden in a derived class, 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
) abstract

Parameters

userName
Type: System::String
The user name.

Return Value

Type: System::Boolean
true if the user is confirmed; otherwise, false.

When overridden in a derived class, the IsConfirmed method should check the user identified by the userName parameter, and if the membership or role provider confirms the user (for example, as a result of the user sending a confirmation email message), the method should return true.

Show:
© 2015 Microsoft