PDM, ChangeState2 and 3 methods, Where to get password?
Posted: Tue Oct 12, 2021 4:49 pm
User is already logged in and I do not want to enter password again.
Help says, ChangeState2 added functionality of requiring the password of logged in user. I can only assume as a security measure so the programmer can show a dialog requiring the user to enter their password again. If I don't need that functionality it seems my options are either use the "Obsolete" ChangeState that doesn't require password (nor does it take a transition ID or name which could be bad) or hard code the password in plain text.
Is there some way to tell ChangeState3 to use the password of the logged in user?
Thank you.
Help says, ChangeState2 added functionality of requiring the password of logged in user. I can only assume as a security measure so the programmer can show a dialog requiring the user to enter their password again. If I don't need that functionality it seems my options are either use the "Obsolete" ChangeState that doesn't require password (nor does it take a transition ID or name which could be bad) or hard code the password in plain text.
Is there some way to tell ChangeState3 to use the password of the logged in user?
Thank you.