Sign in to Community
Sign in to view all badges
I am trying to change an operator password with this JS code :
var resetPassword = NLWS.xtkOperator.ResetPassword("login123", "newpassword");
but I get Method 'ResetPassword' unknown in schema 'xtk:operator'.
Any clue why?
Thank you for your help,
Hello @roro_coeur ,
You don't have administrator access that is why the reset password function is not accessible by your login.
You can check the journal tab for more information. You will see an error which says "XTK-170020 Non authorized access to requested service (right 'admin' needed)."
Operators with admin access can run this code without any issues.