summaryrefslogtreecommitdiffstats
path: root/lib/public/Share/IManager.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Share/IManager.php')
-rw-r--r--lib/public/Share/IManager.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/public/Share/IManager.php b/lib/public/Share/IManager.php
index b6354be3978..820835365d9 100644
--- a/lib/public/Share/IManager.php
+++ b/lib/public/Share/IManager.php
@@ -369,6 +369,22 @@ interface IManager {
public function allowGroupSharing();
/**
+ * Check if user enumeration is allowed
+ *
+ * @return bool
+ * @since 19.0.0
+ */
+ public function allowEnumeration(): bool;
+
+ /**
+ * Check if user enumeration is limited to the users groups
+ *
+ * @return bool
+ * @since 19.0.0
+ */
+ public function limitEnumerationToGroups(): bool;
+
+ /**
* Check if sharing is disabled for the given user
*
* @param string $userId