Difference between revisions of "Password Variables to Set or Reset User Passwords"

From SmartWiki
Jump to: navigation, search
(Existing Users)
Line 14: Line 14:
  
 
==Existing Users==
 
==Existing Users==
To generate a new [[Password|password]] for an '''existing''' [[User|user]].  
+
To generate a new [[Password|password]] for an '''existing''' [[User|user]].
:<font size="3">'''@randompassword@'''</font>
 
  
 +
: <span style="font-size: medium;">'''@randompassword@'''</span>
 
This can be used in:
 
This can be used in:
 +
 
* Any [[Sign-Up Page|Signup page]] message body.
 
* Any [[Sign-Up Page|Signup page]] message body.
 
* Any [[Applicant Tracking]] System applicant profile message body.
 
* Any [[Applicant Tracking]] System applicant profile message body.
Line 25: Line 26:
  
  
In the ''Request Password'' section of [[User Email Templates]], the following variables can be used to create a time-delimited link for password resets.
+
In the ''Request Password'' section of [[User Email Templates]], the following variables can be used to create a time-delimited link for password.
:<font size="3">'''<nowiki>http://@url@@activationlink@</nowiki>'''</font>
+
 
 +
: <span style="font-size: medium;">'''<nowiki>http://@url@@activationlink@</nowiki>'''</span>
 
See [[Password Policy]] for further details.
 
See [[Password Policy]] for further details.
  

Revision as of 15:58, 26 September 2018

Variables can be used within SmartSimple to automatically generate system passwords.


New Users

To generate a new password for a new user.

@password@

This can be used in:


Existing Users

To generate a new password for an existing user.

@randompassword@

This can be used in:


In the Request Password section of User Email Templates, the following variables can be used to create a time-delimited link for password.

http://@url@@activationlink@

See Password Policy for further details.

New or Existing Users

To generate a new password for a new user or sends the words "existing password" for existing users (see Notes below)

@checkactivatedpassword@

To generate a new password for a new user or sends the words "existing password" for existing users AND to promote user to admin/portal type user.

@checkportalpassword@

These can be used in:

Notes

Translation

Because of the complex nature of the password creation and validation process it is not possible to automatically translate existing password into other languages. If you are sending an e-mail containing the @checkactivatedpassword@ variable you can use the following syntax to display text other than "existing password" if required.

For example, for an existing user the following will show the French translation of existing password which is Mot de passe courant. If the user has not been previously activated the syntax will provide a randomly generated password as normal:

<!--@sscalculation(if(trim("@checkactivatedpassword@")="existing password","Mot de passe courant","@checkactivatedpassword@"))-->

Processing Time

System-generated emails that contain passwords bypass the typical Service Process Manager and, hence, are sent out immediately rather than being put in an email queue.

See Also