User Management
Version 48.1 by DavidSowerby on 2011/02/11
Contents
Adding users to your wiki
- Log in as an administrator.
- Go to the administration page. (Colibri: Select Wiki/Administer Wiki from top left of screen) (Toucan: Select Administration link in the top right corner of the screen)
- Click on the Users icon to bring up an overview of all users.
- Click on Add new user button to open a registration page as shown on the image below.
- Complete the user information and press the Save button.
Changing a user's password
Changing the password for any user
- Log in as an administrator.
- Go to the administration page. (Colibri: Select Wiki/Administer Wiki from top left of screen) (Toucan: Select Administration link in the top right corner of the screen)
- Click on the Users icon to bring up an overview of all users.
- Click on the name for the user for which to change the password. This lead you to the user's page.
- Go to my Preferences tab and click Change Password button.
- Modify the password and click the Update button to save your change. Don't forget to tell the user!
Changing the password for the logged in user
To change your own password:
- Click on your user name in the top right corner of the screen. This will redirect you to your profile.
- Click on the Preferences tab and the click on Change password button.
- Modify the password and click the Update button to save your change.
Editing an existing user
- Log in as an administrator.
- Click on the Administration link in the top right corner of the screen to go to the main Administration page.
- Click on the Users icon to bring up an overview of all users.
- You have two options:
- Click the user name for the user to edit.
- On the user's page click on the button corresponding to the information you want to edit (info, password, etc). This will open a page editing view containing the attributes than can be changed.
- Click "Save and View" - to save the changes you have made.
- Click on the pencil icon near the user you want to edit.
- This will open up a lightbox with the main information of that user, which you can edit in place.
- After your modifications press Save to be redirected to the Users view.
- There is also a link to the complete user profile, where you can proceed as above (first option).
- Click the user name for the user to edit.
Deleting a user
- Log in as an administrator.
- Click on the Administration link in the top right corner of the screen to go to the main Administration page.
- Click on the Users icon to bring up an overview of all users.
- Delete the user by using the X button for the user to delete. The user will automatically be removed from all the groups it belonged to.
Customizing the Registration page
You can also customize the way users are registered in your XWiki by creating a XWiki.Registration page which will override the default registration page.
If you don't know what to put in the page you can start by copying the content of http://yourserver/xwiki/templates/registerinline.vm and paste it in your XWiki.Registration page. You'll have to be careful to remove the first test in the template or your registration page will loop forever:
#if(!$xwiki.hasAccessLevel("view","XWiki.Registration")||$xwiki.getDocument("XWiki.Registration").isNew())
[...] ## here is the code you want to keep
#else
$xwiki.getDocument("XWiki.Registration").getTranslatedDocument().getRenderedContent()
#end
[...] ## here is the code you want to keep
#else
$xwiki.getDocument("XWiki.Registration").getTranslatedDocument().getRenderedContent()
#end