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
  • Yeah, that worked. But how do I troubleshoot?

    The result is:


    Name MemberType Definition
    ---- ---------- ----------
    AddFailedAuthAttempt Method void AddFailedAuthAttempt(QPM.Common.Connections.DirectoryInfo directo...
    AddHistoryRecord Method void AddHistoryRecord(string message)
    AuthenticateWithPasscode Method bool AuthenticateWithPasscode(QPM.Common.Connections.DirectoryInfo dir...
    ClearFailedAuthAttempts Method void ClearFailedAuthAttempts(QPM.Common.Connections.DirectoryInfo dire...
    CreateDirectoryConnection Method QPM.Common.Connections.DirectoryInfo CreateDirectoryConnection(string ...
    EmailUser Method void EmailUser(string recipientAddress, string subject, string body)
    EmailUserHtml Method void EmailUserHtml(string recipientAddress, string subject, string body)
    Equals Method bool Equals(System.Object obj)
    GenerateLocalPasswordResetResponse Method string GenerateLocalPasswordResetResponse(QPM.Common.Connections.Direc...
    GeneratePasscode Method string GeneratePasscode(int length)
    GeneratePassword Method string GeneratePassword(QPM.Common.Connections.DirectoryInfo directory...
    GetConnections Method System.Collections.Generic.IEnumerable[QPM.Common.Connections.Connecti...
    GetCurrentHost Method QPM.Common.InfoClasses.HostSettingsInfo GetCurrentHost()
    GetDirectoryConnection Method QPM.Common.Connections.DirectoryInfo GetDirectoryConnection(string con...
    GetDirectoryConnectionByName Method QPM.Common.Connections.DirectoryInfo GetDirectoryConnectionByName(stri...
    GetDirectoryConnections Method QPM.Common.Connections.DirectoryInfo[] GetDirectoryConnections(System....
    GetFailedAuthAttempts Method System.Collections.Generic.List[QPM.Service.Storages.Helpers.AuthAttem...
    GetHashCode Method int GetHashCode()
    GetQAPolicies Method QPM.Common.QAPoliciesInfo GetQAPolicies(string configurationSetId)
    GetStorageContainerAttributeName Method string GetStorageContainerAttributeName()
    GetType Method type GetType()
    GetUserByAttribute Method string GetUserByAttribute(QPM.Common.Connections.DirectoryInfo directo...
    GetUserById Method string GetUserById(QPM.Common.Connections.DirectoryInfo directoryInfo,...
    GetUserByName Method string GetUserByName(QPM.Common.Connections.DirectoryInfo directoryInf...
    GetUserConfigurationSetId Method string GetUserConfigurationSetId(QPM.Common.Connections.DirectoryInfo ...
    LdapEscape Method string LdapEscape(string str)
    LdapFindAll Method string[] LdapFindAll(QPM.Common.Connections.DirectoryInfo directoryInf...
    LdapFindOne Method string LdapFindOne(QPM.Common.Connections.DirectoryInfo directoryInfo,...
    Localize Method QPM.Common.LocalizedItem Localize(string resourceId), QPM.Common.Local...
    Log Method void Log(string message)
    LogError Method void LogError(string message)
    LogEvent Method void LogEvent(string message)
    LogEventError Method void LogEventError(string message)
    LogEventWarning Method void LogEventWarning(string message)
    LogWarning Method void LogWarning(string message)
    QAProfileAssignPasscode Method void QAProfileAssignPasscode(QPM.Common.Connections.DirectoryInfo dire...
    QAProfileAuthenticate Method System.Collections.Generic.List[string] QAProfileAuthenticate(QPM.Comm...
    QAProfileClearForceEnrollStartDate Method void QAProfileClearForceEnrollStartDate(QPM.Common.Connections.Directo...
    QAProfileLock Method void QAProfileLock(QPM.Common.Connections.DirectoryInfo directoryInfo,...
    QAProfileRead Method QPM.Common.QAProfileInfo QAProfileRead(QPM.Common.Connections.Director...
    QAProfileSetForceEnrollStartDate Method void QAProfileSetForceEnrollStartDate(QPM.Common.Connections.Directory...
    QAProfileUnlock Method void QAProfileUnlock(QPM.Common.Connections.DirectoryInfo directoryInf...
    QAProfileUpdate Method void QAProfileUpdate(QPM.Common.Connections.DirectoryInfo directoryInf...
    SearchUser Method string[] SearchUser(QPM.Common.Connections.DirectoryInfo directoryInfo...
    ToString Method string ToString()
    UserChangePassword Method void UserChangePassword(QPM.Common.Connections.DirectoryInfo directory...
    UserEnableAccount Method void UserEnableAccount(QPM.Common.Connections.DirectoryInfo directoryI...
    UserResetPassword Method void UserResetPassword(QPM.Common.Connections.DirectoryInfo directoryI...
    UserSetChangePasswordAtNextLogon Method void UserSetChangePasswordAtNextLogon(QPM.Common.Connections.Directory...
    UserUnlockAccount Method void UserUnlockAccount(QPM.Common.Connections.DirectoryInfo directoryI...
Reply
  • Yeah, that worked. But how do I troubleshoot?

    The result is:


    Name MemberType Definition
    ---- ---------- ----------
    AddFailedAuthAttempt Method void AddFailedAuthAttempt(QPM.Common.Connections.DirectoryInfo directo...
    AddHistoryRecord Method void AddHistoryRecord(string message)
    AuthenticateWithPasscode Method bool AuthenticateWithPasscode(QPM.Common.Connections.DirectoryInfo dir...
    ClearFailedAuthAttempts Method void ClearFailedAuthAttempts(QPM.Common.Connections.DirectoryInfo dire...
    CreateDirectoryConnection Method QPM.Common.Connections.DirectoryInfo CreateDirectoryConnection(string ...
    EmailUser Method void EmailUser(string recipientAddress, string subject, string body)
    EmailUserHtml Method void EmailUserHtml(string recipientAddress, string subject, string body)
    Equals Method bool Equals(System.Object obj)
    GenerateLocalPasswordResetResponse Method string GenerateLocalPasswordResetResponse(QPM.Common.Connections.Direc...
    GeneratePasscode Method string GeneratePasscode(int length)
    GeneratePassword Method string GeneratePassword(QPM.Common.Connections.DirectoryInfo directory...
    GetConnections Method System.Collections.Generic.IEnumerable[QPM.Common.Connections.Connecti...
    GetCurrentHost Method QPM.Common.InfoClasses.HostSettingsInfo GetCurrentHost()
    GetDirectoryConnection Method QPM.Common.Connections.DirectoryInfo GetDirectoryConnection(string con...
    GetDirectoryConnectionByName Method QPM.Common.Connections.DirectoryInfo GetDirectoryConnectionByName(stri...
    GetDirectoryConnections Method QPM.Common.Connections.DirectoryInfo[] GetDirectoryConnections(System....
    GetFailedAuthAttempts Method System.Collections.Generic.List[QPM.Service.Storages.Helpers.AuthAttem...
    GetHashCode Method int GetHashCode()
    GetQAPolicies Method QPM.Common.QAPoliciesInfo GetQAPolicies(string configurationSetId)
    GetStorageContainerAttributeName Method string GetStorageContainerAttributeName()
    GetType Method type GetType()
    GetUserByAttribute Method string GetUserByAttribute(QPM.Common.Connections.DirectoryInfo directo...
    GetUserById Method string GetUserById(QPM.Common.Connections.DirectoryInfo directoryInfo,...
    GetUserByName Method string GetUserByName(QPM.Common.Connections.DirectoryInfo directoryInf...
    GetUserConfigurationSetId Method string GetUserConfigurationSetId(QPM.Common.Connections.DirectoryInfo ...
    LdapEscape Method string LdapEscape(string str)
    LdapFindAll Method string[] LdapFindAll(QPM.Common.Connections.DirectoryInfo directoryInf...
    LdapFindOne Method string LdapFindOne(QPM.Common.Connections.DirectoryInfo directoryInfo,...
    Localize Method QPM.Common.LocalizedItem Localize(string resourceId), QPM.Common.Local...
    Log Method void Log(string message)
    LogError Method void LogError(string message)
    LogEvent Method void LogEvent(string message)
    LogEventError Method void LogEventError(string message)
    LogEventWarning Method void LogEventWarning(string message)
    LogWarning Method void LogWarning(string message)
    QAProfileAssignPasscode Method void QAProfileAssignPasscode(QPM.Common.Connections.DirectoryInfo dire...
    QAProfileAuthenticate Method System.Collections.Generic.List[string] QAProfileAuthenticate(QPM.Comm...
    QAProfileClearForceEnrollStartDate Method void QAProfileClearForceEnrollStartDate(QPM.Common.Connections.Directo...
    QAProfileLock Method void QAProfileLock(QPM.Common.Connections.DirectoryInfo directoryInfo,...
    QAProfileRead Method QPM.Common.QAProfileInfo QAProfileRead(QPM.Common.Connections.Director...
    QAProfileSetForceEnrollStartDate Method void QAProfileSetForceEnrollStartDate(QPM.Common.Connections.Directory...
    QAProfileUnlock Method void QAProfileUnlock(QPM.Common.Connections.DirectoryInfo directoryInf...
    QAProfileUpdate Method void QAProfileUpdate(QPM.Common.Connections.DirectoryInfo directoryInf...
    SearchUser Method string[] SearchUser(QPM.Common.Connections.DirectoryInfo directoryInfo...
    ToString Method string ToString()
    UserChangePassword Method void UserChangePassword(QPM.Common.Connections.DirectoryInfo directory...
    UserEnableAccount Method void UserEnableAccount(QPM.Common.Connections.DirectoryInfo directoryI...
    UserResetPassword Method void UserResetPassword(QPM.Common.Connections.DirectoryInfo directoryI...
    UserSetChangePasswordAtNextLogon Method void UserSetChangePasswordAtNextLogon(QPM.Common.Connections.Directory...
    UserUnlockAccount Method void UserUnlockAccount(QPM.Common.Connections.DirectoryInfo directoryI...
Children
No Data