@@ -64,7 +64,7 @@ class core_user_external extends external_api {
'email'=>
newexternal_value(core_user::get_property_type('email'),'A valid and unique email address'),
'auth'=>
newexternal_value(core_user::get_property_type('auth'),'Auth plugins include manual, ldap, imap, etc',VALUE_DEFAULT,
newexternal_value(core_user::get_property_type('auth'),'Auth plugins include manual, ldap, etc',VALUE_DEFAULT,
'manual',core_user::get_property_null('auth')),
'idnumber'=>
newexternal_value(core_user::get_property_type('idnumber'),'An arbitrary ID code number perhaps from the institution',
...
...
@@ -445,7 +445,7 @@ class core_user_external extends external_api {
newexternal_value(core_user::get_property_type('email'),'A valid and unique email address',VALUE_OPTIONAL,'',
NULL_NOT_ALLOWED),
'auth'=>
newexternal_value(core_user::get_property_type('auth'),'Auth plugins include manual, ldap, imap, etc',VALUE_OPTIONAL,'',
newexternal_value(core_user::get_property_type('auth'),'Auth plugins include manual, ldap, etc',VALUE_OPTIONAL,'',
NULL_NOT_ALLOWED),
'suspended'=>
newexternal_value(core_user::get_property_type('suspended'),'Suspend user account, either false to enable user login or true to disable it',VALUE_OPTIONAL),
...
...
@@ -1030,7 +1030,7 @@ class core_user_external extends external_api {
'interests'=>newexternal_value(PARAM_TEXT,'user interests (separated by commas)',VALUE_OPTIONAL),
'firstaccess'=>newexternal_value(core_user::get_property_type('firstaccess'),'first access to the site (0 if never)',VALUE_OPTIONAL),
'lastaccess'=>newexternal_value(core_user::get_property_type('lastaccess'),'last access to the site (0 if never)',VALUE_OPTIONAL),
'auth'=>newexternal_value(core_user::get_property_type('auth'),'Auth plugins include manual, ldap, imap, etc',VALUE_OPTIONAL),
'auth'=>newexternal_value(core_user::get_property_type('auth'),'Auth plugins include manual, ldap, etc',VALUE_OPTIONAL),
'suspended'=>newexternal_value(core_user::get_property_type('suspended'),'Suspend user account, either false to enable user login or true to disable it',VALUE_OPTIONAL),
'confirmed'=>newexternal_value(core_user::get_property_type('confirmed'),'Active user: 1 if confirmed, 0 otherwise',VALUE_OPTIONAL),
'lang'=>newexternal_value(core_user::get_property_type('lang'),'Language code such as "en", must exist on server',VALUE_OPTIONAL),