Difference between revisions of "Password Variables to Set or Reset User Passwords"
Line 26: | Line 26: | ||
==New or Existing Users== | ==New or Existing Users== | ||
− | To generate a new [[Password|password]] for a new user or sends the words ''"existing password"'' for existing users | + | To generate a new [[Password|password]] for a new user or sends the words ''"existing password"'' for existing users (see '''Notes''' below) |
:<font size="3">'''@checkactivatedpassword@'''</font> | :<font size="3">'''@checkactivatedpassword@'''</font> | ||
Line 34: | Line 34: | ||
* [[Global Settings]] - [[User|user]] email messages - New [[User]] message and Forgot Password message. | * [[Global Settings]] - [[User|user]] email messages - New [[User]] message and Forgot Password message. | ||
* [[Workflow]] - Acknowledgment task type. | * [[Workflow]] - 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> | ||
==See Also== | ==See Also== |
Revision as of 12:29, 5 July 2012
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:
- Any Signup page message body.
- Any Applicant Tracking System applicant profile message body.
- Global Settings - user email messages - New User message and Forgot Password message.
- Any Workflow - UTA Assignment task type.
Existing Users
To generate a new password for an existing user.
- @randompassword@
This can be used in:
- Any Signup page message body.
- Any Applicant Tracking System applicant profile message body.
- Global Settings - user email messages - New User message and Forgot Password message.
- Email Broadcast - to generate a new random password.
- Workflow - Acknowledgment task type.
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@
This can be used in:
- Any Signup page message body.
- Any Applicant Tracking System applicant profile message body.
- Global Settings - user email messages - New User message and Forgot Password message.
- Workflow - 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:
<!--@sscalculation(if(trim("@checkactivatedpassword@")="existing password","Mot de passe courant","@checkactivatedpassword@"))-->