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)

'Declaration
Public MustOverride Function IsConfirmed ( _
	userName As String _
) As Boolean
'Usage
Dim instance As ExtendedMembershipProvider 
Dim userName As String 
Dim returnValue As Boolean 

returnValue = instance.IsConfirmed(userName)

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: