Click or drag to resize
CustomerInfoProviderRegisterAndNotify Method
Register new user and notify him with invitation email. If username parameter is not given email is used. If password is not given system will generate new one. Returns true on success.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.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
userName (Optional)
Type: SystemString
User name
pass (Optional)
Type: SystemString
New password

Return Value

Type: Boolean
See Also