diff --git a/lib/private/share/share.php b/lib/private/share/share.php
index 3751b035bd4e3577a4e89512e72d31cc9ce0825b..ff56b9a48f13456cdacc9097e057fcbb4e01fe87 100644
--- a/lib/private/share/share.php
+++ b/lib/private/share/share.php
@@ -252,6 +252,22 @@ class Share extends \OC\Share\Constants {
 			$parameters, $limit, $includeCollections);
 	}
 
+	/**
+	 * Get the items of item type shared with a user
+	 * @param string Item type
+	 * @param sting user id for which user we want the shares
+	 * @param int Format (optional) Format type must be defined by the backend
+	 * @param mixed Parameters (optional)
+	 * @param int Number of items to return (optional) Returns all by default
+	 * @param bool include collections (optional)
+	 * @return Return depends on format
+	 */
+	public static function getItemsSharedWithUser($itemType, $user, $format = self::FORMAT_NONE,
+		$parameters = null, $limit = -1, $includeCollections = false) {
+		return self::getItems($itemType, null, self::$shareTypeUserAndGroups, $user, null, $format,
+			$parameters, $limit, $includeCollections);
+	}
+
 	/**
 	 * Get the item of item type shared with the current user
 	 * @param string $itemType
diff --git a/lib/public/share.php b/lib/public/share.php
index c694314ad088c676146b16109ab179ce18d8e918..230a517b5ee9f6351104e72d749e75cf765d7301 100644
--- a/lib/public/share.php
+++ b/lib/public/share.php
@@ -90,6 +90,22 @@ class Share extends \OC\Share\Constants {
 		return \OC\Share\Share::getItemsSharedWith($itemType, $format, $parameters, $limit, $includeCollections);
 	}
 
+	/**
+	 * Get the items of item type shared with a user
+	 * @param string Item type
+	 * @param sting user id for which user we want the shares
+	 * @param int Format (optional) Format type must be defined by the backend
+	 * @param mixed Parameters (optional)
+	 * @param int Number of items to return (optional) Returns all by default
+	 * @param bool include collections (optional)
+	 * @return Return depends on format
+	 */
+	public static function getItemsSharedWithUser($itemType, $user, $format = self::FORMAT_NONE,
+		$parameters = null, $limit = -1, $includeCollections = false) {
+
+		return \OC\Share\Share::getItemsSharedWithUser($itemType, $user, $format, $parameters, $limit, $includeCollections);
+	}
+
 	/**
 	 * Get the item of item type shared with the current user
 	 * @param string $itemType