CustomerMasterAccountControl
CustomerMasterAccountControl lets front-end administrators change their associated customer. Confirming a customer switch signs out the shopper’s other active sessions.


Configurable properties
| Property | Default | Valid values or format | Effect |
|---|---|---|---|
ButtonHeightString | Not specified | Sets the customer-switch button height. | |
ButtonImageString | Not specified | Sets the customer-switch button image. | |
ButtonTextString | Not specified | Sets the customer-switch button text. | |
ButtonWidthString | Not specified | Sets the customer-switch button width. | |
ConfirmMessageString | Not specified | Sets the customer-switch confirmation message. | |
DisplayDropDownListBoolean | Not specified | true, false | Controls customer-selector display. |
DisplayLabelBoolean | Not specified | true, false | Controls customer-selector label display. |
LabelTextString | Not specified | Sets the customer-selector label text. | |
TimeoutMessageString | Not specified | Sets the message for a session-timeout failure. | |
TimeoutRedirectPageURLString | Not specified | Sets the redirect destination after session timeout. |
SitePages.config example
The following example loads CustomerMasterAccountControl.ascx and applies the documented literal defaults. The following properties are omitted because they do not have documented literal defaults: ButtonHeight, ButtonImage, ButtonText, ButtonWidth, ConfirmMessage, DisplayDropDownList, DisplayLabel, LabelText, TimeoutMessage, TimeoutRedirectPageURL.
<Control src="CustomerMasterAccountControl.ascx" />
Add this <Control> element to the appropriate page placeholder as described in The SitePages.config File.
Inherited properties
CustomerMasterAccountControl inherits shared conditions from CyberStoreBaseControl.