public User CreateUser( string username, string email, string password, string passwordQuestion, string passwordAnswer, bool isApproved, int affiliateId, out MembershipCreateStatus status )
Parameters
- username
- User name of the user to create.
- Email address of the user to create. Pass in zz_anonymous to create a user for anonymous checkouts.
- password
- Password for the new user.
- passwordQuestion
- A challenge question to assist in recovery of lost passwords.
- passwordAnswer
- Answer to the challenge question.
- isApproved
- Indicates whether the new user is approved.
- affiliateId
- The ID of the affiliate
- status
- Result of the create operation.
Return Value
A user instance if successful, or a null reference if the create fails.