AnsweredAssumed Answered

Resetting an admin account password in another file.

Question asked by Tejas on Jul 6, 2017
Latest reply on Jul 6, 2017 by mikebeargie

I have written a script to reset an admin account password so that admin access can be managed from a single file.

In this single file say File A I have only one admin account which I use for login and I have 5 files with 5 admin accounts of which I am trying to reset password.

The script is as follows:

 

set variable $a = get value(get(Script parameter);1).     .....This is login name.

set variable $b = get value(get(Script parameter);2)       .....This is password.

reset account password [Account Name: $a; Password: $b]

 

This script is run with full access privilege.

 

Also one more thing to notice is that if I debug this script at that time it resets the password but not if I run it without debugging.

 

Can anyone help?

 

Thank you in advance.

Outcomes