Login

Logs the user in to the
FactoryTalk View SE
Client.
If no parameters are specified, the login dialog box is displayed. If one parameter is specified, the login dialog box is displayed with the user name field set to the parameter value. The current user is not logged out until a new user successfully logs in.
Syntax
Login [
username
] [
password
]
where
[
username
]
can be a FactoryTalk user or Windows domain name and login name (domainName\username). If the user does not supply a domain name, the login command looks for the first user in the
FactoryTalk View SE
user accounts list that matches the user name.
[
password
]
is the user's password.
Remarks
  • If
    Login
    is used after another user has logged out, the initial display will be loaded.
    If a
    Login
    command is configured in the
    Logout
    macro, when the previous user logs out, all the commands are executed with the previous user's permissions. The
    Login
    command is the last one to be executed, no matter where it is in the
    Logout
    macro. The login of the new user will not trigger the client's startup macro and the initial display will not be loaded. You
    can configure a
    Login
    command and a
    Display
    command to log in with a new user and open a specific display upon the logout of the previous user
    .
  • If
    Login
    is used to log a new user in without a
    Logout
    first being executed, the previous user is logged out but the current display is not closed. Another display can be opened if a
    Display
    command is used in the login macro.
  • The command with variables
    username
    and
    password
    only supports FactoryTalk or Windows-linked users.
  • This command is run only on the
    FactoryTalk View SE
    Client that issued it. It is ignored when it is issued from a
    FactoryTalk View Studio
    or HMI Server.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal