User Management

Version 44.1 by Silvia Macovei on 2010/03/03
Warning: For security reasons, the document is displayed in restricted mode as it is not the current version. There may be differences and errors due to this.

Failed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed in [xwiki:Documentation.AdminGuide.User Management]. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.

User Management

These instructions assume you're using XWiki 1.2 or later with Albatross or Toucan skin (screenshots for Toucan).

Adding users to your wiki

  1. Log in as an administrator.
  2. Click on the Administration link in the top right corner of the screen to go to the main Administration page.
  3. Click on the Users icon to bring up an overview of all users.
  4. Click on Add new user button to open a registration page as shown on the image below.
  5. Complete the user information and press the Save button.

registeruser.jpg

Changing a user's password

Changing the password for any user

  1. Log in as an administrator.
  2. Click on the Administration link in the top right corner of the screen to go to the main Administration page.
  3. Click on the Users icon to bring up an overview of all users.
  4. Click on the name for the user for which to change the password. This lead you to the user's page.
  5. To the URL of the page add the following extension: ?xpage=passwd.
  6. Modify the password and click the Update button to save your change. Don't forget to tell the user!

changepassword.jpg

Changing the password for the logged in user

To change your own password:

  1. Click on your user name in the top right corner of the screen. This will redirect you to your profile. 
  2. Click on the Change password link in the menu 
  3. Modify the password and click the Update button to save your change.

changepassword2.jpg

Editing an existing user

  1. Log in as an administrator.
  2. Click on the Administration link in the top right corner of the screen to go to the main Administration page.
  3. Click on the Users icon to bring up an overview of all users.
  4. You have two options:
    1. 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.
    2. 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).

edituser2.jpg

Deleting a user

  1. Log in as an administrator.
  2. Click on the Administration link in the top right corner of the screen to go to the main Administration page.
  3. Click on the Users icon to bring up an overview of all users.
  4. 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.

You won't be able to delete the currently logged in user and you'll need to log using other credentials. This is to prevent mistakes...

edituser.jpg

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. 

Since 2.2M2 this is done by the Verified Registration Page, part of the Administration Application. This provides more features such as captcha and client side validation of user input. For more information about how to configure it, visit the application 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
Tags:
   

Get Connected