From d16574f0702d7bafa35b27ed8961580ad0a671ae Mon Sep 17 00:00:00 2001 From: Björn Schießle <schiessle@owncloud.com> Date: Thu, 24 Jan 2013 13:07:59 +0100 Subject: new branch which introduces display names first commit with some infrastructure code --- lib/public/user.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'lib/public/user.php') 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 -- cgit v1.2.3