Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4002,9 +4002,12 @@ defined in ``OCP\Accounts\IAccountManager``. Values are merged with defaults
from ``OC\Accounts\AccountManager``.

Example: Set phone property to private scope:
[
\OCP\Accounts\IAccountManager::PROPERTY_PHONE => \OCP\Accounts\IAccountManager::SCOPE_PRIVATE
]

::

'account_manager.default_property_scope' => [
\OCP\Accounts\IAccountManager::PROPERTY_PHONE => \OCP\Accounts\IAccountManager::SCOPE_PRIVATE
]

projects.enabled
^^^^^^^^^^^^^^^^
Expand Down
25 changes: 25 additions & 0 deletions admin_manual/occ_command.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1719,6 +1719,31 @@ View a list of all users' most recent login::
layla's last login: 2024-03-20 17:18
stephanie's last login: 2024-01-11 13:26

user:profile
^^^^^^^^^^^^

Read user profile properties::

sudo -E -u www-data php occ user:profile admin
- displayname: admin
- address: Berlin
- email: [email protected]
- profile_enabled: 1
- pronouns: they/them

Get a single profile property for a user::

sudo -E -u www-data php occ user:profile address
Berlin

Set a profile property::

sudo -E -u www-data php occ user:profile address Stuttgart

Delete a profile property::

sudo -E -u www-data php occ user:profile address --delete

user:setting
^^^^^^^^^^^^

Expand Down