Loading...
 
Skip to main content

History: Users Handler

Source of version: 6

Copy to clipboard
            This ((handler)) is for creating new users into Tiki in an automated way, or adding existing users to groups in a simple way.
__Creating users in this was may not be secure. Don't use it in a production server__.

{REMARKSBOX (title="Notes for changes in Tiki 6" type="info")}
* Previously each user was -+type: users+-, now you can (additionally) use -+type: user+-
* Email can be set and "must change password on first login" enabled on user creation
{REMARKSBOX}
! Complete example

{CODE(caption=>YAML)}
objects:
 -
  type: user
  data: 
    name: aldo
    pass: whatever
    groups: [ group1 ]
 -
  type: user
  data: 
    name: ben
    pass: b-boy
 -
  type: user
  data: 
    name: xavi
 -
  type: users
  data: 
    name: marc
    email: marc@example.com
    change: n
    groups: [ group2 ]
{CODE}

! Options
||__Field Name__|__Mandatory__|__Value__
name | y | Username
pass | | If no pass is provided, then the pass will be the username
email | | User's email (no validation message yet)
change | | User must change password on first login (y/n default: y)
group| | If a name of a group is provided, then the user will be assigned to the group. If the group doesn't exist previously,the handler will not create it.
||


        

History

Information Version
Fri 26 of Jul, 2019 04:06 GMT-0000 Marc Laporte Removed categories 12
Fri 15 of Aug, 2014 17:45 GMT-0000 dirschneid user-prof 11
Tue 18 of Sep, 2012 21:01 GMT-0000 Marc Laporte stern warning 10
Tue 18 of Sep, 2012 20:52 GMT-0000 Marc Laporte space breaks the plugin 9
Tue 18 of Sep, 2012 20:50 GMT-0000 Marc Laporte broken 8
Tue 27 of Jul, 2010 16:02 GMT-0000 Jonny Bradley 7
Tue 27 of Jul, 2010 15:57 GMT-0000 Jonny Bradley 6
Tue 27 of Jul, 2010 15:40 GMT-0000 Jonny Bradley updated for tiki 6 5
Tue 08 of Jun, 2010 08:29 GMT-0000 Xavier de Pedro adapted syntax to work with tiki5. However, still some problem: users are created just with the first letter in the name param, and no group assigned 4
Fri 07 of Aug, 2009 14:33 GMT-0000 Marc Laporte 3
Fri 07 of Aug, 2009 10:44 GMT-0000 Marc Laporte 2
Mon 03 of Aug, 2009 13:17 GMT-0000 Ben 1