|
Moodle PHP Documentation 4.5
Moodle 4.5.5+ (Build: 20250711) (ce34e8ff087)
|
Namespaces | |
| namespace | auth_ldap\adminpresets |
| | |
| namespace | auth_ldap\privacy |
| | |
| namespace | auth_ldap\task |
| | |
Classes | |
| class | auth_ldap\adminpresets\adminpresets_auth_ldap_admin_setting_special_contexts_configtext |
| class | auth_ldap\privacy\provider |
| Privacy Subsystem for auth_ldap implementing null_provider. More... | |
| class | auth_ldap\task\asynchronous_sync_task |
| Adhoc task class for LDAP user sync. More... | |
| class | auth_ldap\task\sync_roles |
| A scheduled task class for LDAP roles sync. More... | |
| class | auth_ldap\task\sync_task |
| A scheduled task class for LDAP user sync. More... | |
| class | auth_ldap_admin_setting_special_contexts_configtext |
| Special setting for auth_ldap that cleans up context values on save. More... | |
| class | auth_ldap_admin_setting_special_lowercase_configtext |
| Special setting for auth_ldap that lowercases values on save. More... | |
| class | auth_ldap_admin_setting_special_ntlm_configtext |
| Special admin setting for auth_ldap that validates ntlm usernames. More... | |
| class | auth_plugin_ldap |
| LDAP authentication plugin. More... | |
Functions | |
| get_ldap_assignable_role_names ($user=null) | |
| Get a list of system roles assignable by the current or a specified user, including their localised names. | |
| xmldb_auth_ldap_upgrade ($oldversion) | |
| Function to upgrade auth_ldap. | |
Variables | |
| $plugin = 2024100100 | |
| $tasks | |
| $plugin | component = 'auth_ldap' |
| if(!defined('AUTH_AD_ACCOUNTDISABLE')) if(!defined( 'AUTH_AD_NORMAL_ACCOUNT')) if(!defined('AUTH_NTLMTIMEOUT')) if(!defined( 'UF_DONT_EXPIRE_PASSWD')) if(!defined('AUTH_UID_NOBODY')) if(!defined( 'AUTH_GID_NOGROUP')) if(!defined('AUTH_NTLM_VALID_USERNAME')) if(!defined( 'AUTH_NTLM_VALID_DOMAINNAME')) if(!defined('AUTH_NTLM_DEFAULT_FORMAT')) if(!defined( 'AUTH_NTLM_FASTPATH_ATTEMPT')) if(!defined('AUTH_NTLM_FASTPATH_YESFORM')) if(!defined( 'AUTH_NTLM_FASTPATH_YESATTEMPT')) | if (!defined( 'LDAP_OPT_DIAGNOSTIC_MESSAGE')) |
| $plugin | version = 2024100700 |
| get_ldap_assignable_role_names | ( | $user = null | ) |
Get a list of system roles assignable by the current or a specified user, including their localised names.
| integer | object | $user | A user id or object. By default (null) checks the permissions of the current user. |
| array#$roles,each | role as an array with id, shortname, localname, and settingname for the config value. |
| xmldb_auth_ldap_upgrade | ( | $oldversion | ) |
Function to upgrade auth_ldap.
| int | $oldversion | the version we are upgrading from |
| bool | result |
| $tasks |