4/1/2014 2:53 PM | |
Posts: 515 Rating:
|
hi, have a look at the following links please. Change button visibility based on user logged in? |
Last edited by: S7 AUTOMAN at: 4/1/2014 3:14 PM |
|
4/2/2014 10:08 AM | |
Joined: 5/1/2009 Last visit: 5/23/2021 Posts: 144 Rating:
|
Dear sir thanks for your post but i still face the same problem ![]() ![]() |
Best regard |
|
4/23/2014 2:02 PM | |
Joined: 12/12/2011 Last visit: 12/30/2020 Posts: 821 Rating:
|
Hi eng_semsem, you have to use the property "Operator-Control Enable" unter Miscellaneous. Active if "userXY" is logged in (readout tag @currentuser) Best Regards, Healthcheck |
Grundkurs/Systemkurs WinCC V7: |
|
4/29/2014 3:13 PM | |
Joined: 5/1/2009 Last visit: 5/23/2021 Posts: 144 Rating:
|
Dear Mr. Healthcheck thanks for your support , I follow your comment but still not work ![]() kindly check attached pic. Attachmentwincc RT2.zip (93 Downloads) |
Best regard |
|
4/30/2014 8:03 AM | |
Joined: 10/3/2010 Last visit: 6/14/2024 Posts: 1552 Rating:
|
Dear eng_semsem, "Operator-Control Enable" expects a boolean condition (true or false) to be connected to the dynamics, so you can't just link it with @currentuser (which is supposed to be a string containing the active username. You should use a dynamic dialog or script to check @currentuser. If @CurrentUser equals the desired user, set "Operator-Control Enable" to true, else to false. |
B r g d s , |
|
This contribution was helpful to
1 thankful Users |
4/30/2014 10:16 AM | |
Joined: 5/1/2009 Last visit: 5/23/2021 Posts: 144 Rating:
|
Dear Sir I have question about internal tage (@CurrentUser) when I login by user name and password if true tage will be 1 other wise will be 0 ? becuse I make the pushbotton (in miscellane display No ) and the button not appear when login ![]() kindly check attached pic. Attachmentdynamic.zip (94 Downloads) |
Best regard |
|
4/30/2014 11:33 AM | |
Joined: 10/3/2010 Last visit: 6/14/2024 Posts: 1552 Rating:
|
Dear eng_semsem, check attached jpg to see a working example. @CurrentUser contains the user as a string, not a boolean, so you have to compare it first |
B r g d s , |
|
4/30/2014 1:08 PM | |
Joined: 5/1/2009 Last visit: 5/23/2021 Posts: 144 Rating:
|
Dear Sir First thanks for your patient and very thanks for your support , i follow your notes but still not work . and kindly check attached file Attachment3.zip (78 Downloads) |
Best regard |
|
Follow us on