5/24/2024 10:06 AM | |
Joined: 9/23/2005 Last visit: 3/21/2025 Posts: 4406 Rating:
|
Hi, As from TIA V19 up2 there is a new system function that allow change the user without manual user/password enter by user:
(or in a script as HMIRuntime.UI.UserManagement.SysFct.SetLocalUser(alias)) Alias should be a tag or IO field that contains the new user alias name. TIPs:
Special thanks to Mr. Marco Polster for the tips. sample project AttachmentForumV19up2_20240521_1343_20240524_0704.zip (508 Downloads) |
Denilson Pegaia |
|
This contribution was helpful to
3 thankful Users |
11/6/2024 7:28 AM | |
Joined: 10/31/2019 Last visit: 2/5/2025 Posts: 1 Rating:
|
Unfortunately it does not work. Neither in simulation nor directly as PC runtime. |
11/12/2024 11:05 AM | |
Joined: 9/23/2005 Last visit: 3/21/2025 Posts: 4406 Rating:
|
Hi, As descripted in the Updates for STEP 7 V19, S7-PLCSIM V19 and WinCC V19, readme for up3, page 24: "... User change using "SetLocalUser" The "SetLocalUser" system function is only supported for the local user management. ..." I conclude, in this context, that it just works on the server (at least up to now, V19, up3), and could still be used in single station / HMI applications. |
Last edited by: Denilson Pegaia at: 11/12/2024 11:06:18Denilson Pegaia |
|
Follow us on