CustomerInfoProviderRegisterCustomer Method |
Registers the customer (ci) with the given user name
(userName) and password (password).
If userName is null, the customer's email is used instead.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax public static UserInfo RegisterCustomer(
CustomerInfo ci,
string password,
string userName = null
)
Parameters
- ci
- Type: CMS.EcommerceCustomerInfo
Customer object. - password
- Type: SystemString
Customer's password. - userName (Optional)
- Type: SystemString
Customer's user name.
Return Value
Type:
UserInfoCustomer's new user or
null if customer could not be registered. An error is logged to the event log in that case.
See Also