Returns a value that indicates whether the user has been confirmed.
Assembly: WebMatrix.WebData (in WebMatrix.WebData.dll)
'Declaration Public Shared Function IsConfirmed ( _ userName As String _ ) As Boolean 'Usage Dim userName As String Dim returnValue As Boolean returnValue = WebSecurity.IsConfirmed(userName)
- Type: System.String
The user name.
Return ValueType: System.Boolean
true if the user is confirmed; otherwise, false.
This method checks the user account that is identified by the userName parameter. If the membership or role provider has confirmed the user (for example, the user confirmed the account by clicking an email link), the method returns true. If a registration has not been confirmed, the user cannot log in.