Click or drag to resize
CustomerHelperMapToCustomer Method
Maps given user to new CustomerInfo.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
public static CustomerInfo MapToCustomer(
	UserInfo user
)

Parameters

user
Type: CMS.MembershipUserInfo
UserInfo for mapping.

Return Value

Type: CustomerInfo
CustomerInfo mapped from user.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when user is null.
See Also