The User Module implements user sign-in and sign-out to sites that are secured using Essentials Security.
Depending on your security configuration, users may be prompted to sign in when they launch a viewer. For information about Essentials Security, see Security.
In addition, the HTML5 Viewer has links and tools that users can use at any time to sign in or sign out:
If you prefer to customize how users sign in and sign out, you can create hyperlinks, toolbar tools, menu items, and workflows that invoke the User Module's SignIn
and SignOut
commands.
The Desktop and Tablet interfaces have two views and two view models. SignInView
and SignInViewModel
control sign-in. UserInfoView
and UserInfoViewModel
control sign-out. By default, the sign-in and sign-out hyperlinks are in the viewer's BannerContentRegion
. The Handheld interface does not have any views or view models.
Module
No configuration
properties
Views
No views
As of HTML5 Viewer 2.3, UserInfoView
and SignInView
were moved from the User Module to the Banner Module in the Desktop and Tablet interfaces.
View Models
SignInViewModel
:
linkColor
: The color to use for the sign-in hyperlink's text. The color can be an HTML color name or a hexadecimal color, for example, green or #00FF00. The default color is #1B7DBF (blue). If the default color does not show up well against the background color, change linkColor
to a color that contrasts better.
UserInfoViewModel
:
linkColor
: The color to use for the sign-out hyperlink's text. The color can be an HTML color name or a hexadecimal color, for example, green or #00FF00. The default color is #1B7DBF (blue). If the default color does not show up well against the background color, change linkColor
to a color that contrasts better.
textColor
: The color to use for the text in the panel that opens when the user clicks the down arrow beside the sign-out hyperlink. The color can be an HTML color name or a hexadecimal color, for example, green or #00FF00. The default color is #333333 (gray). Configure
textColor
and backgroundColor
so the panel's text is easy to read.
backgroundColor
: The color to use for the background of the panel that opens when the user clicks the down arrow beside the sign-out hyperlink. The color can be an HTML color name or a hexadecimal color, for example, green or #00FF00. The default color is #FFFFFF (white). Configure
textColor
and backgroundColor
so the panel's text is easy to read.