Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-03-31 16:18:25 +0300
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2021-04-01 09:07:47 +0300
commit0c348863e7502d0e6db731e7657b29f675b11590 (patch)
tree012d26b19d04c0f1b71f2f53f036d4a9ee725d74 /lib/public/Accounts
parent737f7559410cc79053819d8aac9ae573529c3c93 (diff)
Allow apps to write/update account data
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public/Accounts')
-rw-r--r--lib/public/Accounts/IAccountManager.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/Accounts/IAccountManager.php b/lib/public/Accounts/IAccountManager.php
index e88fd32f674..63fbc9ba312 100644
--- a/lib/public/Accounts/IAccountManager.php
+++ b/lib/public/Accounts/IAccountManager.php
@@ -111,6 +111,16 @@ interface IAccountManager {
public function getAccount(IUser $user): IAccount;
/**
+ * Update the account data with for the user
+ *
+ * @since 21.0.1
+ *
+ * @param IAccount $account
+ * @throws \InvalidArgumentException Message is the property that was invalid
+ */
+ public function updateAccount(IAccount $account): void;
+
+ /**
* Search for users based on account data
*
* @param string $property