show the entry list
Logon option -- Setting up development environments -- Parameterizing systems
How can you automatically log in a default user after a reboot without using the Login Box?
Using a chip card reader, how can a default user be logged on automatically while the chip card is pulled through?
Why isn't the user currently logged on shown at Runtime?
How can you verify a logged on user at runtime when using SIMATIC Logon (as from V1.3)?
How can you verify a logged on user at runtime when using SIMATIC Logon up to version V1.2 SP1?
How can you configure a chip card with SIMATIC Logon, with which you can log onto each local computer?
SIMATIC Logon window in CFC/SFC
How do you block a user account after a user-definable number of failed attempts to login?
How can you have entries generated by SIMATIC Logon in the password-protected file displayed, printed out or exported?
How can you restore the WinCC Logon Box in the OS Runtime when SIMATIC Logon is installed on the computer?
Why is a user assigned to the "Emergency Operator" group when logging on in WinCC RT?
When using SIMATIC Logon, why is there a user already logged on after starting WinCC RT?
Why, when implementing SIMATIC Logon, is only the logged-on user displayed in the WinCC User Administrator during Runtime?
Why does a C script "PWRTSilentLogin" only work with WinCC users and not with SIMATIC Logon users?
WinCC SIMATIC Logon / AUA -- Product information -- Information on SIMATIC Logon / Advanced User Administrator
Using a chip card reader, how can a default user be logged on automatically while the chip card is pulled through?
What support does Siemens AG offer to make products comply with FDA regulations?
What support does Siemens AG offer to make use of WinCC comply with FDA regulations?
How can you configure a chip card with SIMATIC Logon, with which you can log onto each local computer?
Why isn't the group selection dialog displayed any longer in WinCC V6.2 and higher?
How can you use the "GetSignature" function as of SIMATIC Logon V1.4?
What is the standard password of the user "Administrator" in the WinCC User Administrator?
Why isn't the user currently logged on shown at Runtime?
How can you replace the Windows on-screen keyboard of SIMATIC Logon (from V1.4) with the ProTool keyboard so as not to reach the operating system during Runtime?
How can you verify a logged on user at runtime when using SIMATIC Logon (as from V1.3)?
How can you verify a logged on user at runtime when using SIMATIC Logon up to version V1.2 SP1?
How do you call the SIMATIC Logon dialog box by means of C-Script?
The WinCC Login Box appears instead of the Logon Box in WinCC Runtime.
Using a chip card reader, how can a default user be logged on automatically while the chip card is pulled through?
Part number:

Description:
From SIMATIC Logon V1.2 (WinCC V6.0 SP2 and PCS 7 V6.1) onwards you use the "Default user" function. More information is available in the description of SIMATIC Logon.

Note:
In the WinCC OS project editor, select the Message View tab and in the Message Filter make sure that the default setting "Messages with area-enabling" is selected. This permits the "Default User" in SIMATIC Logon to acknowledge the messages on the message pages if that user has the "Enable for area" access authorization. The "Default User" has this authorization when the "Default Group" from SIMATIC Logon in the WinCC User Administrator has the "Enable for area" access authorization.
If the messages are not supposed to be acknowledged by the "Default User", in the WinCC OS project editor, you must select the setting "Acknowledgeable messages in a separate list" for the Message Filter in the Message View tab. More information is available in the WinCC Online Help under "Options > Options for Process Control > OS Project Editor > "Message View > Message Filter" tab".

The following description is only necessary for predecessor versions.

If you pull the chip card out of the chip card reader, the system will log you off. At that moment, no user is logged on to the system. You have the following options to log on a default user during this operation.

1. Automatic log-on of a default user while the card is pulled through

The C script will be called as a global action. Since the chip card has the higher priority, the script will only really become effective, once the chip card is pulled through.

  1. Open the "Global Script" editor.
  2. Go to "File" - "New Action".
  3. Enter the following C script

    #include "apdefap.h"
    int gscAction( void ) {
    #pragma code ("useadmin.dll")
    #include "PWRT_api.h"
    #pragma code()
    PWRTSilentLogin ("login","password");
    return 0;
    }
  4. Select the internal variable "@CurrentUser" as trigger for this action. Leave the trigger cycle set to the default cycle value of 2 seconds.
    Every 2 seconds, the variable is checked for changes and the script is executed if a change occurs.

    Note:
    Shorter cycle times than the default value of 2 seconds for the trigger variable will lead to a loss of the system performance.

  5. Make sure that you have enabled the "Global Script Runtime" in the "Startup" tab in the computer properties.

2. Log-on a of default user by clicking on a button

The following C script is placed behind a button in the "@Welcome.pdl" picture, for example. This script is then only executed when you press the button.

#include "apdefap.h"
void OnClick(char* lpszPictureName, char* lpszObjectName, char* lpszPropertyName) {
#pragma code ("useadmin.dll")
#include "PWRT_api.h"
#pragma code()
PWRTSilentLogin ("login","password");
}

For example, a user is predefined as default user with the log-in "default user" and the password "default", the corresponding line is: PWRTSilentLogin ("defaultuser","default");

 Entry ID:1947167   Date:2010-04-19 
I regard this article....as helpfulas not helpful                                 
mySupport
My Documentation Manager 
Newsletter 
CAx-Download-Manager 
Support Request
To this entry
Print
Create PDF 
Send to a friend
QuickLinks
Compatibility tool 
Help
Online Help
Guided Tour