This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Custom workflow - email user random generated password

 Hello guys,

 

I have just recently installed One Identity Password Manager version 5.7.0.1525 in our test-environment. We see that the existing workflows can not apply to our situation, and need to create a new simple custom workflow. We are looking for a self-selvice portal for our users where they simply can reset their password.

 

The workflow should consist of a user searching after his AD-user and then choose the custom workflow "Password email reset" workflow, a random generated password is set on the user account in AD (in addition: "user must change password at next logon" is checked), and an email is sent to the user with the password.

 

The best would be to email the user a link which he then access and set a new password - like the way facebook, gmail, etc do it. Is this possible? :)

 

Best regards

Bilal

Parents
  • Thanks a lot for helping me here.

    I misunderstood the sample code, and now I tried your code. The workflow went through withotut any errors however I am not receiving the passcode on my mail. I have tested the SMTP test settings in the PMadmin interface, and received a test mail. But I am not recieving the mail after finishing the workflow. I have verified that my AD-user is configured with the correct e-mail address - which is the same I tested t he mail settings with.

    Am I right that $user.mail retrieved the value from the selected users AD email attribute?

    Also tried to check the logs, but did not see anything related.

    Kind regards
    Bilal
Reply
  • Thanks a lot for helping me here.

    I misunderstood the sample code, and now I tried your code. The workflow went through withotut any errors however I am not receiving the passcode on my mail. I have tested the SMTP test settings in the PMadmin interface, and received a test mail. But I am not recieving the mail after finishing the workflow. I have verified that my AD-user is configured with the correct e-mail address - which is the same I tested t he mail settings with.

    Am I right that $user.mail retrieved the value from the selected users AD email attribute?

    Also tried to check the logs, but did not see anything related.

    Kind regards
    Bilal
Children
No Data