aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Accounts
diff options
context:
space:
mode:
authorJake Nabasny <jake@nabasny.com>2023-11-28 11:01:52 -0500
committerRichard Steinmetz <richard@steinmetz.cloud>2024-05-30 12:01:13 +0200
commitf863290572ff91d9a8a8d6cb2ad819964c3a1426 (patch)
tree389883fb9a18bdb2dbcd466bd0f46fe9ff7b82b8 /lib/public/Accounts
parent57a7f09a722c384cb3940c19ed2d00d5b9ec925c (diff)
downloadnextcloud-server-f863290572ff91d9a8a8d6cb2ad819964c3a1426.tar.gz
nextcloud-server-f863290572ff91d9a8a8d6cb2ad819964c3a1426.zip
feat(ldap): sync additional properties to profile and SAB
Synced from LDAP to profile: - Date of birth Synced from LDAP to SAB (via the profile): - Biography - Date of birth Original code by Jake Nabasny (GitHub: @slapcat) Co-authored-by: Jake Nabasny <jake@nabasny.com> Co-authored-by: Richard Steinmetz <richard@steinmetz.cloud> Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
Diffstat (limited to 'lib/public/Accounts')
-rw-r--r--lib/public/Accounts/IAccountManager.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/public/Accounts/IAccountManager.php b/lib/public/Accounts/IAccountManager.php
index 178c6aba676..9168e17ea10 100644
--- a/lib/public/Accounts/IAccountManager.php
+++ b/lib/public/Accounts/IAccountManager.php
@@ -157,6 +157,11 @@ interface IAccountManager {
public const PROPERTY_PROFILE_ENABLED = 'profile_enabled';
/**
+ * @since 30.0.0
+ */
+ public const PROPERTY_BIRTHDATE = 'birthdate';
+
+ /**
* The list of allowed properties
*
* @since 25.0.0
@@ -175,6 +180,7 @@ interface IAccountManager {
self::PROPERTY_HEADLINE,
self::PROPERTY_BIOGRAPHY,
self::PROPERTY_PROFILE_ENABLED,
+ self::PROPERTY_BIRTHDATE,
];