Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Saviynt user password

Nithin_Janagama
New Contributor III
New Contributor III

Hey guys, so I have a usecase where when a user is imported through a csv file an email should be sent to the user withs saviynt username and password. So, I got to know that it is not possible to retrieve saviynt password of the user (though we can get the masked(encrypted) password which is not helpful). Is there any way I can send an email to the user's email containing a link which will help them set a new password themselves? 

9 REPLIES 9

rushikeshvartak
All-Star
All-Star

You can expire password and send for reset 

 

https://docs.saviyntcloud.com/bundle/EIC-Admin-v24x/page/Content/Chapter06-EIC-Configurations/Creati...

Configuring EIC Password Reset Notification Email

You configure this email template to inform that password is reset.

Sample template:

To:
<% if (null!=user.email && user.email!='') print"${user.email}" else print"${user.secondaryEmail}" %>Email

Body:

Hello ${user.firstname} ${user.lastname},

This is to notify that your password is reset by - ${changedBy.firstname} ${changedBy.lastname} (${changedBy.username})
<% if (changedBy.username==user.username)print ""
else print "New password is - ${password}"%>

Binding variables:

The following table provides description of binding variables used to create this email template:

Binding Variable Description

${users.email}
${users.secondaryEmail}
${users.firstname}
${user.username}

Obtains all attributes of beneficiary user such as email ID, secondary email ID, firstname and lastname.

changedBy object

The changedBy object exposes the following variables:

  • ${changedBy.username}

  • ${changedBy.firstname}

Obtains all attributes of the user who is resetting the password.

${changedBy.username}

Obtains the username of the user.

${changedBy.firstname}

Obtains the firstname of the user.

${password}

Obtains the new password reset for the beneficiary user. This is used to send the password set by the end user to the beneficiary user.

${manageremail}

Obtains the email ID of the user’s manager.

${managerfirstname}

Obtains the firstname of the user’s manager.

${managerlastname}

Obtains the lastname of the user’s manager.

${managerusername}

Obtains the username of the user’s manager.

 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

So, while importing itself, I should set the password and trigger this email ?

 

yes


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Tried doing that. But when I am using binding variable ${password}, the email is not getting triggered, but when I remove that variable the email is working fine.

To get what variables are present to use in the email template, check using the below expression. By putting it in the email body, it will print all variable names with values, and then accordingly, you can use it:


${this.binding.variables.each {k,v -> println "$k = $v" + "" + "br" + ">"}}


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Hi @rushikeshvartak , thanks for the reply, but I couldn't find any binding variable that would be of use to me. I also think that it is not possible to retrieve user password from saviynt system. So what I want to do instead is when the users are imported an email should be triggered containing a form to fill in the password and that password should be set as the user password. Is this possible and if possible how it can be implemented or is there any other way such that a password should be set to the user on being imported to the saviynt system and the user should know that password.

You can expire user password with OOTB report

rushikeshvartak_0-1706855394551.png

 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

So, when the password expires can I create an email template such that it contains a link for reset password?

you can't send link


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.