From version < 43.1 >
edited by Caleb James DeLisle
on 2010/02/04
To version < 44.1 >
edited by Silvia Macovei
on 2010/03/03
< >
Change comment: Document converted from syntax xwiki/1.0 to syntax xwiki/2.0

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.CalebJamesDeLisle
1 +XWiki.SilviaRusu
Syntax
... ... @@ -1,1 +1,1 @@
1 -XWiki 1.0
1 +XWiki 2.0
Content
... ... @@ -1,83 +1,97 @@
1 +{{velocity filter="none"}}
2 +{{html clean="false" wiki="true"}}
1 1  #startfloatingbox()
2 -*Contents*
3 -#toc ("2" "3" "")
4 +**Contents**
5 +
6 +{{toc start="2" depth="3" numbered=""/}}
4 4  #endfloatingbox()
8 +{{/html}}
9 +{{/velocity}}
5 5  
6 -1 User Management
11 += User Management =
7 7  
8 -#info("These instructions assume you're using XWiki 1.2 or later with *[Albatross or Toucan skin>AdminGuide.Skins]* (screenshots for Toucan).")
13 +{{info}}
14 +These instructions assume you're using XWiki 1.2 or later with **[[Albatross or Toucan skin>>AdminGuide.Skins]]** (screenshots for Toucan).
15 +{{/info}}
9 9  
10 -1.1 Adding users to your wiki
17 +== Adding users to your wiki ==
11 11  
12 12  1. Log in as an administrator.
13 -1. Click on the *<tt>Administration</tt>* link in the top right corner of the screen to go to the main Administration page.
14 -1. Click on the *<tt>Users</tt>* icon to bring up an overview of all users.
15 -1. Click on *<tt>Add new user</tt>* button to open a registration page as shown on the image below.
16 -1. Complete the user information and press the *<tt>Save</tt>* button.
20 +1. Click on the **##Administration##** link in the top right corner of the screen to go to the main Administration page.
21 +1. Click on the **##Users##** icon to bring up an overview of all users.
22 +1. Click on **##Add new user##** button to open a registration page as shown on the image below.
23 +1. Complete the user information and press the **##Save##** button.
17 17  
18 -{image:registeruser.jpg}
25 +[[image:registeruser.jpg]]
19 19  
20 -1.1 Changing a user's password
27 +== Changing a user's password ==
21 21  
22 -1.1.1 Changing the password for any user
29 +=== Changing the password for any user ===
23 23  
24 24  1. Log in as an administrator.
25 -1. Click on the *<tt>Administration</tt>* link in the top right corner of the screen to go to the main Administration page.
26 -1. Click on the *<tt>Users</tt>* icon to bring up an overview of all users.
32 +1. Click on the **##Administration##** link in the top right corner of the screen to go to the main Administration page.
33 +1. Click on the **##Users##** icon to bring up an overview of all users.
27 27  1. Click on the name for the user for which to change the password. This lead you to the user's page.
28 -1. To the URL of the page add the following extension: *<tt>?xpage=passwd</tt>*.
29 -1. Modify the password and click the *<tt>Update</tt>* button to save your change. Don't forget to tell the user!
35 +1. To the URL of the page add the following extension: **##?xpage=passwd##**.
36 +1. Modify the password and click the **##Update##** button to save your change. Don't forget to tell the user!
30 30  
31 -{image:changepassword.jpg}
38 +[[image:changepassword.jpg]]
32 32  
33 -1.1.1 Changing the password for the logged in user
40 +=== Changing the password for the logged in user ===
34 34  
35 -To change *your own password*:
42 +To change **your own password**:
43 +
36 36  1. Click on your user name in the top right corner of the screen. This will redirect you to your profile.
37 -1. Click on the *<tt>Change password</tt>* link in the menu
38 -1. Modify the password and click the *<tt>Update</tt>* button to save your change.
45 +1. Click on the **##Change password##** link in the menu
46 +1. Modify the password and click the **##Update##** button to save your change.
39 39  
40 -{image:changepassword2.jpg}
48 +[[image:changepassword2.jpg]]
41 41  
42 -1.1 Editing an existing user
50 +== Editing an existing user ==
43 43  
44 44  1. Log in as an administrator.
45 -1. Click on the *<tt>Administration</tt>* link in the top right corner of the screen to go to the main Administration page.
46 -1. Click on the *<tt>Users</tt>* icon to bring up an overview of all users.
53 +1. Click on the **##Administration##** link in the top right corner of the screen to go to the main Administration page.
54 +1. Click on the **##Users##** icon to bring up an overview of all users.
47 47  1. You have two options:
48 48  11. Click the user name for the user to edit.
49 -111*. On the user's page click *<tt>on the button corresponding to the information you want to edit (info, password, etc)</tt>*. This will open a page editing view containing the attributes than can be changed.
50 -111*. Click "*<tt>Save and View*</tt>" - to save the changes you have made.
57 +111.
58 +111*. 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.
59 +111*. Click "**##Save and View##**" - to save the changes you have made.
51 51  11. Click on the pencil icon near the user you want to edit.
61 +111.
52 52  111*. This will open up a lightbox with the main information of that user, which you can edit in place.
53 -111*. After your modifications press <tt>*Save*</tt> to be redirected to the *Users* view.
63 +111*. After your modifications press ##**Save**## to be redirected to the **Users** view.
54 54  111*. There is also a link to the complete user profile, where you can proceed as above (first option).
55 55  
56 -{image:edituser2.jpg}
66 +[[image:edituser2.jpg]]
57 57  
58 -1.1 Deleting a user
68 +== Deleting a user ==
59 59  
60 60  1. Log in as an administrator.
61 -1. Click on the *<tt>Administration</tt>* link in the top right corner of the screen to go to the main Administration page.
62 -1. Click on the *<tt>Users</tt>* icon to bring up an overview of all users.
63 -1. Delete the user by using the *<tt>X</tt>* button for the user to delete. The user will automatically be removed from all the groups it belonged to.
71 +1. Click on the **##Administration##** link in the top right corner of the screen to go to the main Administration page.
72 +1. Click on the **##Users##** icon to bring up an overview of all users.
73 +1. 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.
64 64  
65 -#info("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...")
75 +{{info}}
76 +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...
77 +{{/info}}
66 66  
67 -{image:edituser.jpg}
79 +[[image:edituser.jpg]]
68 68  
69 -1.1 Customizing the Registration page
81 +== Customizing the Registration page ==
70 70  
71 -You can also customize the way users are registered in your XWiki by creating a <tt>XWiki.Registration</tt> page which will override the default registration page.
83 +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.
72 72  
73 -#info("Since 2.2M2 this is done by the Verified Registration Page, part of the [Administration Application>code:Applications.AdministrationApplication]. 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.")
85 +{{info}}
86 +Since 2.2M2 this is done by the Verified Registration Page, part of the [[Administration Application>>code:Applications.AdministrationApplication]]. 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.
87 +{{/info}}
74 74  
75 -If you don't know what to put in the page you can start by copying the content of <tt>http://yourserver/xwiki/templates/registerinline.vm</tt> and paste it in your <tt>XWiki.Registration</tt> page. You'll have to be careful to remove the first test in the template or your registration page will loop forever:
76 -{code:none}
89 +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: ##
90 +
91 +{{code language="none"}}
77 77  #if(!$xwiki.hasAccessLevel("view","XWiki.Registration")||$xwiki.getDocument("XWiki.Registration").isNew())
78 78  [...] ## here is the code you want to keep
79 79  #else
80 80  $xwiki.getDocument("XWiki.Registration").getTranslatedDocument().getRenderedContent()
81 81  #end
82 -{code}
83 -
97 +{{/code}}
ContentsThe [toc] macro is a standalone macro and it cannot be used inline

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.

        • 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).

        • 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

Get Connected