This project has moved. For the latest updates, please go here.

Saving user password for TaskLogonType.Password

Apr 3, 2012 at 8:39 PM
Edited Apr 3, 2012 at 8:45 PM

Hi David,

If I edit a saved task having a Definition.Principal.LogonType of TaskLogonType.Password, where can I retrieve the user password that is associated with this task?

Do I have to use password = taskEditorForm.InvokeCredentialDialog(userid) every time I save the task?

Thanks, Audi

Coordinator
Apr 4, 2012 at 5:25 AM

You cannot extract a password from the current user session. You must prompt the user for it somehow. Once you have it, you can store for use when you re-register the task. A task registered with InteractiveTokenOrPassword or Password must supply a password each time it is re-registered.

Apr 4, 2012 at 2:57 PM

Thanks David!