From 59bb9931dff564c4db238293c6a75b7a999d67bc Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Tue, 29 Jan 2013 20:09:41 +0100 Subject: [PATCH] Adjust user interface to additions around displayName Handling --- lib/user/interface.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/lib/user/interface.php b/lib/user/interface.php index 3d9f4691f24..b4667633b50 100644 --- a/lib/user/interface.php +++ b/lib/user/interface.php @@ -57,4 +57,19 @@ interface OC_User_Interface { */ public function userExists($uid); + /** + * @brief get display name of the user + * @param $uid user ID of the user + * @return display name + */ + public function getDisplayName($uid); + + /** + * @brief Get a list of all display names + * @returns array with all displayNames (value) and the correspondig uids (key) + * + * Get a list of all display names and user ids. + */ + public function getDisplayNames($search = '', $limit = null, $offset = null); + } \ No newline at end of file -- 2.39.5