summaryrefslogtreecommitdiffstats
path: root/lib/private/user
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/user')
-rw-r--r--lib/private/user/user.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/private/user/user.php b/lib/private/user/user.php
index 00ded84f955..062081d51d4 100644
--- a/lib/private/user/user.php
+++ b/lib/private/user/user.php
@@ -220,6 +220,15 @@ class User implements IUser {
}
/**
+ * Get the name of the backend class the user is connected with
+ *
+ * @return string
+ */
+ public function getBackendClassName() {
+ return get_class($this->backend);
+ }
+
+ /**
* check if the backend allows the user to change his avatar on Personal page
*
* @return bool