summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/user_proxy.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_ldap/user_proxy.php')
-rw-r--r--apps/user_ldap/user_proxy.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/apps/user_ldap/user_proxy.php b/apps/user_ldap/user_proxy.php
index fa4d6939303..6414a048071 100644
--- a/apps/user_ldap/user_proxy.php
+++ b/apps/user_ldap/user_proxy.php
@@ -25,7 +25,7 @@ namespace OCA\user_ldap;
use OCA\user_ldap\lib\ILDAPWrapper;
-class User_Proxy extends lib\Proxy implements \OCP\UserInterface {
+class User_Proxy extends lib\Proxy implements \OCP\IUserBackend, \OCP\UserInterface {
private $backends = array();
private $refBackend = null;
@@ -118,6 +118,14 @@ class User_Proxy extends lib\Proxy implements \OCP\UserInterface {
}
/**
+ * Backend name to be shown in user management
+ * @return string the name of the backend to be shown
+ */
+ public function getBackendName() {
+ return $this->refBackend->getBackendName();
+ }
+
+ /**
* Get a list of all users
* @return string[] with all uids
*