OpenAuth.CreateUser Method (String, String, String, String, String, String, String, String)

.NET Framework 4.5

Namespace:  Microsoft.AspNet.Membership.OpenAuth
Assembly:  Microsoft.AspNet.Membership.OpenAuth (in Microsoft.AspNet.Membership.OpenAuth.dll)

Syntax

'Declaration
Public Shared Function CreateUser ( _
    providerName As String, _
    providerUserId As String, _
    providerUserName As String, _
    userName As String, _
    password As String, _
    email As String, _
    passwordQuestion As String, _
    passwordAnswer As String _
) As CreateResult
'Usage
Dim providerName As String 
Dim providerUserId As String 
Dim providerUserName As String 
Dim userName As String 
Dim password As String 
Dim email As String 
Dim passwordQuestion As String 
Dim passwordAnswer As String 
Dim returnValue As CreateResult 

returnValue = OpenAuth.CreateUser(providerName, _
    providerUserId, providerUserName, _
    userName, password, email, passwordQuestion, _
    passwordAnswer)
public static CreateResult CreateUser(
    string providerName,
    string providerUserId,
    string providerUserName,
    string userName,
    string password,
    string email,
    string passwordQuestion,
    string passwordAnswer
)
public:
static CreateResult^ CreateUser(
    String^ providerName, 
    String^ providerUserId, 
    String^ providerUserName, 
    String^ userName, 
    String^ password, 
    String^ email, 
    String^ passwordQuestion, 
    String^ passwordAnswer
)
static member CreateUser : 
        providerName:string * 
        providerUserId:string * 
        providerUserName:string * 
        userName:string * 
        password:string * 
        email:string * 
        passwordQuestion:string * 
        passwordAnswer:string -> CreateResult
public static function CreateUser(
    providerName : String, 
    providerUserId : String, 
    providerUserName : String, 
    userName : String, 
    password : String, 
    email : String, 
    passwordQuestion : String, 
    passwordAnswer : String
) : CreateResult

Parameters

Return Value

Type: Microsoft.AspNet.Membership.OpenAuth.CreateResult

See Also

Reference

OpenAuth Class

CreateUser Overload

Microsoft.AspNet.Membership.OpenAuth Namespace