Export (0) Print
Expand All

ExtendedMembershipProvider.CreateUserAndAccount Method (String, String, IDictionary(Of 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 Overridable Function CreateUserAndAccount ( _
	userName As String, _
	password As String, _
	values As IDictionary(Of String, Object) _
) As String
Dim instance As ExtendedMembershipProvider 
Dim userName As String 
Dim password As String 
Dim values As IDictionary(Of String, Object)
Dim returnValue As String 

returnValue = instance.CreateUserAndAccount(userName, _
	password, values)


Type: System.String
The user name.
Type: System.String
The password.
Type: System.Collections.Generic.IDictionary(Of String, Object)
(Optional) A dictionary that contains additional user attributes to store in the user profile. The default is Nothing.

Return Value

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