Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

WebSecurity.IsConfirmed Method

Returns a value that indicates whether the user has been confirmed.

Namespace:  WebMatrix.WebData
Assembly:  WebMatrix.WebData (in WebMatrix.WebData.dll)
public static bool IsConfirmed(
	string userName
)

Parameters

userName
Type: System.String
The user name.

Return Value

Type: 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.

  • Medium trust for the immediate caller. This member can be used by partially trusted code.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.