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)

Syntax

'Declaration
Public Overridable Function CreateAccount ( _
    userName As String, _
    password As String _
) As String
'Usage
Dim instance As ExtendedMembershipProvider 
Dim userName As String 
Dim password As String 
Dim returnValue As String 

returnValue = instance.CreateAccount(userName, _
    password)
public virtual string CreateAccount(
    string userName,
    string password
)
public:
virtual String^ CreateAccount(
    String^ userName, 
    String^ password
)
abstract CreateAccount : 
        userName:string * 
        password:string -> string  
override CreateAccount : 
        userName:string * 
        password:string -> string
public function CreateAccount(
    userName : String, 
    password : String
) : String

Parameters

Return Value

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

Remarks

For more information, see SimpleMembershipProvider.ConfirmAccount(String).

See Also

Reference

ExtendedMembershipProvider Class

CreateAccount Overload

WebMatrix.WebData Namespace