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 abstract bool IsConfirmed(
	string 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.

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