Note: You are currently viewing documentation for Moodle 2.9. Up-to-date documentation for the latest stable version of Moodle may be available here: Upload users.

Talk:Upload users: Difference between revisions

From MoodleDocs
(List of valid fields forlater reference)
 
m (%-l template is inactive)
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
==Notes from Moodle 2.1 uploaduser.php==
==Notes from Moodle 2.1 uploaduser.php==
firstname, lastname, username, email, city, country, lang, timezone, mailformat, maildisplay, maildigest, htmleditor, ajax, autosubscribe ,institution, department , idnumber, skype , msn, aim, yahoo, icq, phone1, phone2, address, url, description, descriptionformat, password, auth, oldusername , deleted, course1, course2, course3, course4   
firstname, lastname, username, email, city, country, lang, timezone, mailformat, maildisplay, maildigest, htmleditor, ajax, autosubscribe ,institution, department , idnumber, skype , msn, aim, yahoo, icq, phone1, phone2, address, url, description, descriptionformat, password, auth, oldusername , deleted, course1, course2, course3, course4   
        // watch out when changing auth type or using external auth plugins!
         
// use oldusername when renaming users - this is the original username
// watch out when changing auth type or using external auth plugins!
// 1 means delete user
// use oldusername when renaming users - this is the original username
//course# not sure about these
// 1 means delete user
//course# not sure about these put short course name
 
--[[User:chris collman|chris collman]] 21:22, 22 November 2011 (WST)
 
==ISO Website broken link==
The [http://www.iso.org/iso/country_codes/iso_3166_code_lists/english_country_names_and_code_elements.htm english_country_names_and_code_elements.htm] link on the iso.org website is no longer valid. The [http://web.archive.org/web/20110721031148/http://www.iso.org/iso/country_codes/iso_3166_code_lists/english_country_names_and_code_elements.htm Web Archive] copy of that page indicates that the same info is now on [http://www.iso.org/iso/country_names_and_code_elements http://www.iso.org/iso/country_names_and_code_elements], so I'm updating the link.
 
--[[User:Luis de Vasconcelos|Luis de Vasconcelos]] 14:52, 13 July 2012 (WST)
 
:Thanks Luis for your help :-) --[[User:Helen Foster|Helen Foster]] 17:34, 18 July 2012 (WST)
 
== Role field ==
 
In the description of the field TYPE some id's are mentioned. Please be aware that these are not the same as you should use in the column ROLE. In ROLE you should use the ID of the roles that can be found through 'Define roles'. Can't quite figure out what TYPE is meant for.
 
Note moodle 2.8: Uploading using %-l in username field got me -l as username, not the lastname in lowercase.

Latest revision as of 13:30, 13 April 2015

Notes from Moodle 2.1 uploaduser.php

firstname, lastname, username, email, city, country, lang, timezone, mailformat, maildisplay, maildigest, htmleditor, ajax, autosubscribe ,institution, department , idnumber, skype , msn, aim, yahoo, icq, phone1, phone2, address, url, description, descriptionformat, password, auth, oldusername , deleted, course1, course2, course3, course4

// watch out when changing auth type or using external auth plugins! // use oldusername when renaming users - this is the original username // 1 means delete user //course# not sure about these put short course name

--Chris collman 21:22, 22 November 2011 (WST)

ISO Website broken link

The english_country_names_and_code_elements.htm link on the iso.org website is no longer valid. The Web Archive copy of that page indicates that the same info is now on http://www.iso.org/iso/country_names_and_code_elements, so I'm updating the link.

--Luis de Vasconcelos 14:52, 13 July 2012 (WST)

Thanks Luis for your help :-) --Helen Foster 17:34, 18 July 2012 (WST)

Role field

In the description of the field TYPE some id's are mentioned. Please be aware that these are not the same as you should use in the column ROLE. In ROLE you should use the ID of the roles that can be found through 'Define roles'. Can't quite figure out what TYPE is meant for.

Note moodle 2.8: Uploading using %-l in username field got me -l as username, not the lastname in lowercase.