OMI functions missing?

While building a new OMI application I can't find certain features that are available in the old Intouch Viewapp. 

The features I can't find are the timed logout of users, disabeling of ALT+TAB and disabeling of the Windows Key. Are these just missing or am I missing something? 

  • Timed logout of users is controlled by the ViewApp Namespace Security sub group.  This is accessible in runtime with the syntax MyViewApp.Security.<Security Attribute>.  The attributes of the Security group are as follows

    Security Namespace Attributes

    Use attributes in the Security namespace to get information about the user that is currently logged-in.

    Attribute Name Description Data
    Type
    Read/ Write
    LoggedIn Returns true or false to indicate if a user is logged into the ViewApp. Boolean Read
    LoggedInUserName Returns the user name of the logged-in user. string Read
    LoggedInUserRoles Returns the security roles assigned to the logged-in user in CSV format. string Read
    LoggedInAccessLevel Returns the access level of the security role assigned to the logged-in user. If a running ViewApp does not have a logged-in user, the return value is 0.  integer Read
    LastSuccessfulLogin Returns the UTC timestamp of the most recent successful log in to the ViewApp. If no one is currently logged in and the ViewApp is running, returns 01/01/1601 12:01:01.000 AM DateTime Read
    AutoLogonCurrentUser Returns true or false to indicate if the currently-logged in Windows user will be automatically logged into the ViewApp. Boolean R/W
    AutoLogOff Returns true or false to indicate if the user will be logged off after a period of inactivity. Boolean R/W
    AutoLogOffTimeSpan Returns how much time of inactivity the logged in user is allowed. integer R/W
    AutoLogRemainingTime Returns how much time of inactivity the logged in user has remaining. integer Read
    LastUnsuccessfulLogin Returns the UTC timestamp of the most recent unsuccessful log in to the ViewApp. If there has not been an unsuccessful login and the ViewApp is running, returns 01/01/1601 12:01:01.000 AM. DateTime Read
    AttemptedLoginUsername Returns the name used for an unsuccessful user login. string Read
    LastLogonAttemptFailed Returns true or false to indicate if the most recent attempt to log in to the ViewApp failed (true) or was successful (false). Boolean Read
    Security Namespace (Auto LogOn and LogOff)

    The Security namespace provides four attributes that you can use to implement auto logon and timed auto logout for the current Windows user when connecting to a ViewApp:

    • MyViewApp.Security.AutoLogonCurrentUser: Boolean value used to enable automatic login of currently-logged in Windows user. If disabled, the user has to log on to the ViewApp manually. Default value is TRUE (enabled). The value is retentive.
    • MyViewApp.Security.AutoLogoff: Boolean value used to enable automatic log off after a period of inactivity. Default value is OFF (disabled). The value is retentive.
    • MyViewApp.Security.AutoLogoutTimeSpan: Time value that sets the maximum period of user inactivity in seconds. Default initial value is 600. The value is retentive.
    • MyViewApp.Security.AutoLogoutTimeRemaining: Time value that counts down how many seconds of the AutoLogoutTimeSpan remains before AutoLogout occurs. Default initial value is 0.

    Note that these four attributes are applicable to the automatic logon/logoff feature, and are in addition to other attributes in the security namespace used for monitoring the status of ViewApp users. 

    Enable AutoLogon

    Auto Logon requires that you have enabled either OS User or OS Group based security. When true, the AutoLogonCurrentUser attribute allows the currently-logged in Windows user to use the ViewApp without having to re-enter their credentials.

    To enable auto logon for your ViewApp, create a button or similar graphic element. Then, add an animation, such as a Pushbutton or Action Script and reference the AutoLogonCurrentUser attribute, as follows:

    MyViewApp.Security.AutoLogonCurrentUser

    If you prefer scripting, you can use the LogonCurrentUser() method. 

    Enable AutoLogOff

    To enable AutoLogoff, set the attribute to TRUE (default value is FALSE). Like AutoLogonCurrentUser, AutoLogoff can be implemented via an animation in a button or other graphic element. Set the AutoLogoff to TRUE as follows:

    MyViewApp.Security.AutoLogoff == true

    Configure the two additional time attributes as animations as well. AutoLogoutTimeSpan has a default integer value of 600 (seconds). You can change this directly by editing the default value in the SystemTags.xml file. Use the AutoLogoutTimeRemaining attribute in a display animation to show the user how much time of inactivity is remaining before they are automatically logged off the ViewApp. Note that both time attributes should also be configured as integer values, not time or elapsed time values.