Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

ExtendedMembershipProvider.CreateAccount Method (String, String)

Creates a new user account using the specified user name and password.

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

public virtual string CreateAccount(
	string userName,
	string password


Type: System.String
The user name.
Type: System.String
The password.

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