Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Users Namespace / UserRepository Class / CreateUser Method / CreateUser(String,String) Method
Email address of the user to create.
Password for the new user.
Version
CreateUser(String,String) Method
Create a new user with the specified password.
Syntax
public User CreateUser( 
   string email,
   string password
)

Parameters

email
Email address of the user to create.
password
Password for the new user.

Return Value

A user instance if successful, or a null reference if the create fails.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also