../pvss.htm menu.gif basics.gif

afterLogin()

After successful login displays the required panel.

Synopsis

void afterLogin(string user, string password, string newLocale, int closeModules);

Parameter

    Parameter

    Description

    user

    Name of the user

    password

    User's password

    newLocale

    Selected user language - for example, "de_AT.iso88591"

    closeModules

    Defines whether modules are closed or not when the project language is changed. It is not always necessary to close a module. When , for example, the menu bar of a panel is deactivated, the module does not have to be closed in order to change the language.

Return value

None ( void).

Description

After login this function opens a project panel of your choice.

IconExample

To open a panel of your own choice after login the function afterLogin() of the login.ctl (located in wincc_oa_path/scripts/libs) must be adapted to the project.

The variable

string module = "WinCC OA"; // module name used

string panel = "vision/pvss"; // panel to be opened

has be changed to

string module = "mill";

string panel = "overview"

Assignment

User administration

Availability

UI, CTRL

See also

Reference Vision

LoginDialog(), LogoutDialog(), PasswordDialog()

Top Of Page

 

V 3.11 SP1

Copyright ETM professional control GmbH 2013 All Rights Reserved