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.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 10.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 of the invitation email. - userName (Optional)
- Type: SystemString
Customer's user name. - pass (Optional)
- Type: SystemString
Customer's password.
Return Value
Type:
BooleanTrue if the method was successful.
See Also