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)
Syntax
'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)
public abstract bool IsConfirmed(
string userName
)
public:
virtual bool IsConfirmed(
String^ userName
) abstract
abstract IsConfirmed :
userName:string -> bool
public abstract function IsConfirmed(
userName : String
) : boolean
Parameters
- userName
Type: System.String
The user name.
Return Value
Type: System.Boolean
true if the user is confirmed; otherwise, false.
Remarks
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.