3/17/2025 1:04 PM | |
Joined: 3/19/2017 Last visit: 4/17/2025 Posts: 20 Rating:
|
Dear all, in a V20 Unified project, some users have been configured from the runtime side. Now if I make changes on the TIA Portal side (such as adding new authorizations/roles), it wants to overwrite all users created in the runtime. Is there a way to make a backup of created user accounts and re-import them after TIA Portal download so that they do not get overwritten? I found another thread here EDIT: Just to clarify, I am referring to UMC Local user management. Thanks, Andrew |
Last edited by: and.short at: 03/17/2025 13:09:32 |
|
3/17/2025 3:16 PM | |
Joined: 1/21/2013 Last visit: 4/18/2025 Posts: 3764 Rating:
|
Hi Andrew, The described features are covered by the ExportUserAdministration and ImportUserAdministration system functions. However, you should test that the import does not overwrite the changes you have made in the TIA Portal project. Kind regards |
3/18/2025 12:15 PM | |
Joined: 3/19/2017 Last visit: 4/17/2025 Posts: 20 Rating:
|
Thank you Stefan, I must have missed in the manual. However the function does not seem to work. The button event code looks like this: UI.UserManagement.SysFct.ExportUserAdministration("", "c:\\aaa.json") and the relevant trace message is not very helpful: session: 0010, trace: CHmiUIUserManagementSysFct::UserAdministration: Could not create UMC Exchange object. session: 0010, trace: CHmiUIUserManagementSysFct::ExportUserAdministration was not successfull: ResultCode: 0x80000006 Error: CF_R_INVALID_POINTER Description: The component reported a general error (File: D:\agent\_work\73\s\source\ScriptSysFctPlugins\SysFct\GfxUIUserManagementSysFct.cpp, Func: HmiGfx::CHmiUIUserManagementSysFct::ExportUserAdministration::<lambda_1>::operator ()) Do you have any suggestions? Thanks, Andrew
|
Follow us on