data/TWiki/BulkResetPassword.txt
changeset 0 414e01d06fd5
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/data/TWiki/BulkResetPassword.txt	Sat Jan 26 15:50:53 2008 +0100
     1.3 @@ -0,0 +1,56 @@
     1.4 +%META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.0" version="4"}%
     1.5 +---+ Bulk Reset Passwords
     1.6 +
     1.7 +*Administrators can use this topic to reset any number of user passwords.*
     1.8 +
     1.9 +Users whose passwords are reset with this will be sent an e-mail at the address recorded *in their home topic*. The administrator will *not* be told the new passwords.
    1.10 +
    1.11 +*Follow these two steps:*
    1.12 +
    1.13 +<form action="%SCRIPTURLPATH{"manage"}%/%WEB%/%TOPIC%" method="post">
    1.14 +<div class="twikiFormSteps">
    1.15 +<div class="twikiFormStep">
    1.16 +---+++ Select users
    1.17 +%IF{
    1.18 +  "context passwords_modifyable"
    1.19 +  then=""
    1.20 +  else="<strong>%MAKETEXT{"Sorry, the password system is currently read only, please contact [_1]" args="%WIKIWEBMASTER%"}%</strong>"
    1.21 +}%
    1.22 +<!--
    1.23 +      * Set NOTMODIFYABLE = %IF{"context passwords_modifyable" then="" else="DISABLED"}%
    1.24 +-->
    1.25 +%TABLE{databg="transparent" tableborder="0" tablerules="none"}%
    1.26 +%SEARCH{
    1.27 +  "%META:FORM.*[U]serForm"
    1.28 +  web="%MAINWEB%"
    1.29 +  type="regex"
    1.30 +  header="|*WikiName*  |*User page created*  |*User page changed*  | *Reset* |"
    1.31 +  format="| $web.$topic |$createdate  |$date  |  <input %NOTMODIFYABLE% type='checkbox' name='LoginName' value='$topic'>  |"
    1.32 +  excludetopic="Web*" nosearch="on" nototal="on"
    1.33 +}%
    1.34 +
    1.35 +__Note__ if you don't see all the users you expect in this table, make sure their home topic has an attached %TWIKIWEB%.UserForm. This is used to identify users.
    1.36 +</div>
    1.37 +<div class="twikiFormStep">
    1.38 +---+++ Write message
    1.39 +
    1.40 +*This text will be sent to users in their "reset" e-mail.* The login name and password will be filled in automatically.
    1.41 +<textarea class="twikiInputField" name="Introduction" rows="4" cols="70" style="width:99%;">
    1.42 +Welcome! The site is ready for your use. Please use the login name and password listed below and contact me if you have any questions.
    1.43 +</textarea>
    1.44 +</div>
    1.45 +<div class="twikiFormStep twikiLast">
    1.46 +<input type="hidden" name="action" value="resetPassword">
    1.47 +<input %NOTMODIFYABLE% type="submit" class="twikiSubmit" value="Reset selected user passwords and send message">
    1.48 +</div>
    1.49 +</div>
    1.50 +</form>
    1.51 +
    1.52 +%BR%
    1.53 +%BR%
    1.54 +---
    1.55 +%BR%
    1.56 +__Related Topics:__ AdminToolsCategory
    1.57 +
    1.58 +      * Set ALLOWTOPICVIEW = %MAINWEB%.TWikiAdminGroup
    1.59 +      * Set ALLOWTOPICCHANGE = %MAINWEB%.TWikiAdminGroup