summaryrefslogtreecommitdiffstats
path: root/lib/user
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2013-01-29 20:09:41 +0100
committerArthur Schiwon <blizzz@owncloud.com>2013-01-29 20:09:41 +0100
commit59bb9931dff564c4db238293c6a75b7a999d67bc (patch)
treeba87ae0888075c13f13cd80a3ce5ecaa001f01f9 /lib/user
parent4b7b09200823615e1d9851cbbcc978595a458de9 (diff)
downloadnextcloud-server-59bb9931dff564c4db238293c6a75b7a999d67bc.tar.gz
nextcloud-server-59bb9931dff564c4db238293c6a75b7a999d67bc.zip
Adjust user interface to additions around displayName Handling
Diffstat (limited to 'lib/user')
-rw-r--r--lib/user/interface.php15
1 files changed, 15 insertions, 0 deletions
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