Peter Barfield Posted July 11, 2015 Posted July 11, 2015 Is it possible to grab the current users password via script just like Get(accountname). I know this might sound like a strange request but the scenario I want to try and achieve is to re login from a mobile database to server with admin privilege run a script then relogin with the user account and password for the actual user. I would like to do this hidden and seamless. Yes i know i can run a script with full access privilege its just that my sync routine is only working with admin login not other user login and i just cant seem to find the solution as to why, however, this workaround does work as I have tried it albeit i manually typed the password back in for the user just trying to avoid that part.
Wim Decorte Posted July 11, 2015 Posted July 11, 2015 Is it possible to grab the current users password via script just like Get(accountname). Most certainly not.... Yes i know i can run a script with full access privilege its just that my sync routine is only working with admin login not other user login That does not make sense. When you set a script to run with full access, it runs exactly as if you are logged in with full access. There is no functional difference. I would strongly recommend focusing your attention on this instead of trying other things that could weaken the security of your solution.
Peter Barfield Posted July 11, 2015 Author Posted July 11, 2015 Wim, Thanks for the reply and yes i understand your point "most certainly not" and I thought that would be the case. I was just thinking outside a square. I know that full access privilege on a script should give me the response I need however, for whatever reason it doesnt give me the same results as if I logged in with the master access again I don't understand why ( Ihave tried every users access and same results) and I know it doesn't make sense but fact is it doesn't and yes I will continue to investigate that but I fear I am at a dead end on that one within my ability.
Wim Decorte Posted July 11, 2015 Posted July 11, 2015 While logged in as non-admin, run the sequence in the script debugger. That should easily show you where it fails...
Peter Barfield Posted July 13, 2015 Author Posted July 13, 2015 Wim,sorry havent had a chance to implement your suggestion will let you know how i fare regards and many thanks for your dedicated input to this forum.
Recommended Posts
This topic is 3420 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now