diff options
Diffstat (limited to 'lib/public/user.php')
-rw-r--r-- | lib/public/user.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/public/user.php b/lib/public/user.php index 204d8e4c0f1..2d22bdd96c8 100644 --- a/lib/public/user.php +++ b/lib/public/user.php @@ -51,7 +51,15 @@ class User { public static function getUsers($search = '', $limit = null, $offset = null) { return \OC_USER::getUsers(); } - + + /**
+ * @brief get the user display name of the user currently logged in.
+ * @return string display name
+ */
+ public static function getDisplayName() {
+ return \OC_USER::getDisplayName();
+ } + /** * @brief Check if the user is logged in * @returns true/false |