Changes

Password Variables to Set or Reset User Passwords

3,400 bytes removed, 17:42, 28 June 2023
m
no edit summary
{{Deprecated}}
 
==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 [[password]]s.
 
 
 
==New Users==
To generate a new [[Password|password]] for a '''new''' [[User|user]].
 
: <span style="font-size: medium;">'''@password@'''</span>
This can be used in:
 
* Any [[Sign-Up Page|Signup page]] message body.
* Any [[Applicant Tracking]] System applicant profile message body.
* [[Global Settings]] - [[User Email Templates|user email messages]] - New [[User]] message and Forgot Password message.
* Any [[Workflow]] - [[Workflow Task Type: Acknowledgement|Acknowledgment task type]].
 
 
==Existing Users==
To generate a new [[Password|password]] for an '''existing''' [[User|user]].
 
: <span style="font-size: medium;">'''@randompassword@'''</span>
This can be used in:
 
* Any [[Sign-Up Page|Signup page]] message body.
* Any [[Applicant Tracking]] System applicant profile message body.
* [[Global Settings]] - [[User Email Templates|user email messages]] - New [[User]] message and Forgot Password message.
* [[Email Broadcast]] - to generate a new random [[Password|password]].
* Any [[Workflow]] - [[Workflow Task Type: Acknowledgement|Acknowledgment task type]].
 
 
In the ''Request Password'' section of [[User Email Templates]], the following variables can be used to create a time-delimited link for password.
 
: <span style="font-size: medium;">'''<nowiki>http://@url@@activationlink@</nowiki>'''</span>
See [[Password Policy]] for further details.
 
==New or Existing Users==
To generate a new [[Password|password]] for a new user or sends the words ''"existing password"'' for existing users (see '''Notes''' below)
 
: <span style="font-size: medium;">'''@checkactivatedpassword@'''</span>
To generate a new [[Password|password]] for a new user or sends the words ''"existing password"'' for existing users '''AND''' to promote user to admin/portal type user.
 
: <span style="font-size: medium;">'''@checkportalpassword@'''</span>
These can be used in:
 
* Any [[Sign-Up Page|Signup page]] message body.
* Any [[Applicant Tracking]] System applicant profile message body.
* [[Global Settings]] - [[User Email Templates|user email messages]] - New [[User]] message and Forgot Password message.
* Any [[Workflow]] - [[Workflow Task Type: Acknowledgement|Acknowledgment task type]].
 
==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:
 
<pre>
<!--@sscalculation(if(trim("@checkactivatedpassword@")="existing password","Mot de passe courant","@checkactivatedpassword@"))-->
</pre>
 
===Processing Time===
System-generated emails that contain passwords bypass the typical [[What Is Gort?|Service Process Manager]] and, hence, are sent out immediately rather than being put in an email queue.
==See Also==
Smartstaff
2,107
edits