IsSecured

(Security Manager Module

Description: Returns TRUE if the application has any user accounts defined, else FALSE.
Returns: Boolean
Usage: Script or steady state.
Related to: GetAccountID | GetAccountInfo | GetFullName | GetGroupName | GetUserName | IsLoggedOn | IsSuspended | SecurityCheck | UIErrorToText
Format: \SecurityManager\IsSecured()
Parameters: None
Comments: An application can be unsecured, yet have roles configured. An application is only considered secured if one or more user accounts exist.

Example:

As an expression in the Opacity property of a page hotbox widget...

  GUITransform(160, 201, 282, 169,
               1, 1, 1, 1, 1 { Scaling              },
               0, 0          { Movement             },
               PickValid(\SecurityManager.IsSecured(), 0), 0          { Visibility, Reserved },
               0, 0, 0       { Selectability        },
               Scope(Code, "Library", TRUE)\PageChange("SiteListWithMapPage", 14, Invalid, 0, "0", Invalid, Invalid));