UserProfile()
Description
The UserProfile component enables you to retrieve information about the current web store visitor. The information available depends on whether the visitor is currently logged in, is a registered user but is not logged in, or is an unregistered user.
Create an instance of this component by calling container.getComponent("UserProfile").