05-30-2014 10:56 AM
Is there a way to get the password "unscrambled" from TestStand?
User.Password
Specifies the password for the user.
When you set this property, TestStand scrambles the password before storing it internally. When you get this property, TestStand returns the scrambled password to you, to prevent users from programmatically accessing passwords without authorization.
Thanks,
Brian
Solved! Go to Solution.
06-02-2014 01:46 PM
what is your intention for getting the unscrambled password? I don't think there is a way to do it. In fact I hope there's not because that could be really bad.
If you forgot it then just set a new one.
Regards,
06-02-2014 02:01 PM
This was a customer requirement to verify that the TestStand passwords meet a certain criteria. The customer all ready has password requirements for the windows login, and in my opinion, looking at the TestStand passwords is a little overkill.
06-02-2014 02:23 PM
I see the conundrum. They aren't willing to allow the currently logged in windows user to log in to TS? You can just have TS automatically log in the Windows user.
Another option is if you work in an environment where they have badges then you can make them scan their badge number. This is somewhat safer.
The last option, and one you will probably have to implement, is create your own dialog in LabVIEW or another language. Then in that language check the strength of the password. Then once they finally get a "good" password then you go ahead and set it in TestStand. You would be creating your own user management dialog system at that point. There is a create delete example here: <TestStand Public>\Examples\CreateDeleteUsers\CreateDeleteUsers.seq
That might be helpful to get started.
Anyhow, hope this helps,
06-02-2014 02:29 PM
Thanks Jigg. Appreciate your suggestions.