summaryrefslogtreecommitdiffstats
path: root/lib/public/IUserManager.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/IUserManager.php')
-rw-r--r--lib/public/IUserManager.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/public/IUserManager.php b/lib/public/IUserManager.php
index 1f8c23dbedf..2287a24e9ec 100644
--- a/lib/public/IUserManager.php
+++ b/lib/public/IUserManager.php
@@ -130,6 +130,15 @@ interface IUserManager {
public function createUser($uid, $password);
/**
+ * @param string $uid
+ * @param string $password
+ * @param UserInterface $backend
+ * @return IUser|null
+ * @since 12.0.0
+ */
+ public function createUserFromBackend($uid, $password, UserInterface $backend);
+
+ /**
* returns how many users per backend exist (if supported by backend)
*
* @return array an array of backend class as key and count number as value