Click or drag to resize
CustomerInfoProviderRegisterAndNotify Method
Registers the customer (ci) with the given user name (userName) and password (pass), and notifies the customer with an invitation email. If pass is null, the system generates a new password. If userName is null, the customer's email is used instead.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
public static bool RegisterAndNotify(
	CustomerInfo ci,
	string emailTemplateCodeName,
	string userName = null,
	string pass = null
)

Parameters

ci
Type: CMS.EcommerceCustomerInfo
Customer object.
emailTemplateCodeName
Type: SystemString
Template code name of the invitation email.
userName (Optional)
Type: SystemString
Customer's user name.
pass (Optional)
Type: SystemString
Customer's password.

Return Value

Type: Boolean
True if the method was successful.
See Also