Loading...
 
Skip to main content

History: Users Handler

Source of version: 4

Copy to clipboard
            This ((handler)) is for creating new users into Tiki in an automated way.
__This is only for testing purposes. Don't use it in a production server__.

! Complete example

{CODE(caption=>YAML)}
objects:
 -
  type: users
  data: 
    name: aldo
    pass: whatever
    group: [ group1 ]
 -
  type: users
  data: 
    name: ben
    pass: b-boy
 -
  type: users
  data: 
    name: xavi
 -
  type: users
  data: 
    name: marc
    group: [ group2 ]
{CODE}

! Options
||__Field Name__|__Mandatory__|__Value__
name|y|Username
pass| |If no pass is provided, then the pass will be the username
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, then the handler will create it. If is null, then nothing will happen.
||


        

History

Information Version
Fri 26 of Jul, 2019 04:06 UTC Marc Laporte Removed categories 12
Fri 15 of Aug, 2014 17:45 UTC dirschneid user-prof 11
Tue 18 of Sep, 2012 21:01 UTC Marc Laporte stern warning 10
Tue 18 of Sep, 2012 20:52 UTC Marc Laporte space breaks the plugin 9
Tue 18 of Sep, 2012 20:50 UTC Marc Laporte broken 8
Tue 27 of Jul, 2010 16:02 UTC Jonny Bradley 7
Tue 27 of Jul, 2010 15:57 UTC Jonny Bradley 6
Tue 27 of Jul, 2010 15:40 UTC Jonny Bradley updated for tiki 6 5
Tue 08 of Jun, 2010 08:29 UTC 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 UTC Marc Laporte 3
Fri 07 of Aug, 2009 10:44 UTC Marc Laporte 2
Mon 03 of Aug, 2009 13:17 UTC Ben 1
Collapse/expand modules below