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
- providerName
Type: System.String
- providerUserId
Type: System.String
- providerUserName
Type: System.String
- userName
Type: System.String
- password
Type: System.String
- email
Type: System.String
- passwordQuestion
Type: System.String
- passwordAnswer
Type: System.String
Return Value
Type: Microsoft.AspNet.Membership.OpenAuth.CreateResult