Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CreateUserAndAccount Method (String, String, IDictionary(String, Object))

ExtendedMembershipProvider.CreateUserAndAccount Method (String, String, IDictionary(String, Object))

When overridden in a derived class, creates a new user profile and a new membership account.

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

public function CreateUserAndAccount(
	userName : String, 
	password : String, 
	values : IDictionary<String, Object>
) : String

Parameters

userName
Type: System.String
The user name.
password
Type: System.String
The password.
values
Type: System.Collections.Generic.IDictionary(String, Object)
(Optional) A dictionary that contains additional user attributes to store in the user profile. The default is a null reference (Nothing in Visual Basic).

Return Value

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