WinCC Web Navigator check when user logs out

Neogazz777

Member
Join Date
Jun 2022
Location
Dungarvan
Posts
1
I am using WinCC Web Navigator V7.5. Is there any C or VB Script that can be used to check when a user logs out and then use this event to login a default view only user? :geek:

Example of what I want to do:
---- Run only on Web Navigator ----
If (users_logged_out) {
login_user = View_Only }


I have heard of the use of the following code, but no idea how to implement for my application:
----------------------------------
#include "apdefap.h"
void OnClick(char* lpszPictureName, char* lpszObjectName, char* lpszPropertyName)
{
#pragma code("useadmin.dll")
#include "PWRT_api.h"
#pragma code()
PWRTLogout();
}
----------------------------------
#include "apdefap.h"
void OnClick(char* lpszPictureName, char* lpszObjectName, char* lpszPropertyName)
{
#pragma code("useadmin.dll")
#include "PWRT_api.h"
#pragma code()
PWRTLogin('c');
}
----------------------------------
#ifndef RUN_ON_WEBNAVIGATOR
{
#pragma code ()
#include "PWRT_api.h"
#pragma code();
PWRTLogout();
}
#endif
 

Similar Topics

Hi, We have a WinCC Server with WinCC v7.3 that we have upgraded to WinCC v7.4. Also the WinCC Web Navigator Server has been upgraded by doing...
Replies
3
Views
4,556
Hi, We have 2 WinCC Servers with approx. 30 Web Navigator users. 3 Web Navigators are used for Andon screens. How did we do this... by connecting...
Replies
3
Views
2,503
I want to use wincc web navigator. How can I connect the scada station to internet if I use ethernet network card to connect the station to the...
Replies
1
Views
1,368
Hi I've strange question. In our factory there is a pc with wincc scada web navigator server which is connected to internet , thus I can watch...
Replies
0
Views
2,817
Dear All, We have tried to open Webnavigator in Windows VIsta Version and Windows 7 Professional version laptops in that while installing...
Replies
0
Views
3,066
Back
Top Bottom