PRELIMINARY INFORMATION - SUBJECT TO CHANGE
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Adds a new membership user to the data source.

Namespace: Smartsite.Security.Authentication
Assembly:  Smartsite.Security (in Smartsite.Security.dll)

Syntax

C#Copy imageCopy Code
public override  CreateUser(
	string username,
	string password,
	string email,
	string passwordQuestion,
	string passwordAnswer,
	bool isApproved,
	 providerUserKey,
	out  status
)
Visual Basic (Declaration)Copy imageCopy Code
Public Overrides Function CreateUser ( _
	username As , _
	password As , _
	email As , _
	passwordQuestion As , _
	passwordAnswer As , _
	isApproved As , _
	providerUserKey As , _
	<> ByRef status As  _
) As 

Parameters

username
String
The user name for the new user.
password
String
The password for the new user.
email
String
The e-mail address for the new user.
passwordQuestion
String
The password question for the new user.
passwordAnswer
String
The password answer for the new user
isApproved
Boolean
Whether or not the new user is approved to be validated.
providerUserKey
Object
The unique identifier from the membership data source for the user.
status
MembershipCreateStatus%
A MembershipCreateStatus enumeration value indicating whether the user was created successfully.

Return Value

A MembershipUser object populated with the information for the newly created user.

See Also

Advanced