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.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax 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:
BooleanSee Also