You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/dav/lib/Connector/Sabre/Principal.php
+40-10Lines changed: 40 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -101,6 +101,21 @@ public function getPrincipalsByPrefix($prefixPath) {
101
101
* @return array
102
102
*/
103
103
publicfunctiongetPrincipalByPath($path) {
104
+
return$this->getPrincipalPropertiesByPath($path);
105
+
}
106
+
107
+
/**
108
+
* Returns a specific principal, specified by its path.
109
+
* The returned structure should be the exact same as from
110
+
* getPrincipalsByPrefix.
111
+
*
112
+
* It is possible to optionally filter retrieved properties in case only a limited set is
113
+
* required. Note that the implementation might return more properties than requested.
114
+
*
115
+
* @param string $path The path of the principal
116
+
* @param string[]|null $propertyFilter A list of properties to be retrieved or all if null. An empty array will cause a very shallow principal to be retrieved.
0 commit comments