diff options
author | Joas Schilling <coding@schilljs.com> | 2017-04-26 15:07:11 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-04-26 15:07:11 +0200 |
commit | 9e6ac3de700ebf51e3677e752db4928afacbf7e6 (patch) | |
tree | 036d048ceb0f2172e34f49180818a67f2a1e4f83 /lib/public | |
parent | 5b5c3a1773dab4960d41aafc4150859a308311b7 (diff) | |
download | nextcloud-server-9e6ac3de700ebf51e3677e752db4928afacbf7e6.tar.gz nextcloud-server-9e6ac3de700ebf51e3677e752db4928afacbf7e6.zip |
Allow to create a user for a specific backend
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/IUserManager.php | 9 |
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 |