| | |
| | | * @version @package_version@ |
| | | * @author Kris Steinhoff |
| | | * @license GNU GPLv3+ |
| | | * |
| | | * Example configuration: |
| | | * |
| | | * // The id of the address book to use to automatically set a new |
| | | * // user's full name in their new identity. (This should be an |
| | | * // string, which refers to the $config['ldap_public'] array.) |
| | | * $config['new_user_identity_addressbook'] = 'People'; |
| | | * |
| | | * // When automatically setting a new users's full name in their |
| | | * // new identity, match the user's login name against this field. |
| | | * $config['new_user_identity_match'] = 'uid'; |
| | | */ |
| | | class new_user_identity extends rcube_plugin |
| | | { |
| | |
| | | } |
| | | |
| | | $rcmail = rcmail::get_instance(); |
| | | $this->load_config(); |
| | | |
| | | $addressbook = $rcmail->config->get('new_user_identity_addressbook'); |
| | | $ldap_config = (array)$rcmail->config->get('ldap_public'); |