Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ExtendedMembershipProvider.CreateAccount Method (String, String, Boolean)

When overridden in a derived class, creates a new user account using the specified user name and password, optionally requiring that the new account must be confirmed before the account is available for use.

Namespace:  WebMatrix.WebData
Assembly:  WebMatrix.WebData (in WebMatrix.WebData.dll)

Public MustOverride Function CreateAccount ( _
	userName As String, _
	password As String, _
	requireConfirmationToken As Boolean _
) As String
Dim instance As ExtendedMembershipProvider
Dim userName As String
Dim password As String
Dim requireConfirmationToken As Boolean
Dim returnValue As String

returnValue = instance.CreateAccount(userName, _
	password, requireConfirmationToken)


Type: System.String
The user name.
Type: System.String
The password.
Type: System.Boolean
(Optional) true to specify that the account must be confirmed; otherwise, false. The default is false.

Return Value

Type: System.String
A token that can be sent to the user to confirm the account.

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