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

From SmartWiki
Jump to: navigation, search
Line 1: Line 1:
 
==See Also==
 
==See Also==
 +
Please read our [[Password Policy]] for more comprehensive information about user passwords. 
  
Please read our [[Password Policy]] for more comprehensive information about user passwords. 
 
  
  
 
==Overview==
 
==Overview==
 
 
 
[[Variables]] can be used within [[SmartSimple]] to automatically generate system [[password]]s.
 
[[Variables]] can be used within [[SmartSimple]] to automatically generate system [[password]]s.
  
Line 12: Line 10:
  
 
==New Users==
 
==New Users==
 +
{{Deprecated}}
 +
 
To generate a new [[Password|password]] for a '''new''' [[User|user]].
 
To generate a new [[Password|password]] for a '''new''' [[User|user]].
  
Line 21: Line 21:
 
* [[Global Settings]] - [[User Email Templates|user email messages]] - New [[User]] message and Forgot Password message.
 
* [[Global Settings]] - [[User Email Templates|user email messages]] - New [[User]] message and Forgot Password message.
 
* Any [[Workflow]] - [[Workflow Task Type: Acknowledgement|Acknowledgment task type]].
 
* Any [[Workflow]] - [[Workflow Task Type: Acknowledgement|Acknowledgment task type]].
 
  
  

Revision as of 14:45, 5 July 2021

See Also

Please read our Password Policy for more comprehensive information about user passwords. 


Overview

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


New Users

Ambox warning pn.png This feature is deprecated and should no longer be used, but may still be available for reasons of backwards compatibility.

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