You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
users_backend: Number of users from backends like LDAP
users_total: Total number of users known to Nextcloud, enabled and disabled, including users for each backend. Ideally, users_total is users_enabled + users_disabled (today this is called num_users, but I'm not sure if the number is correct)
And these for usage statistics:
users_seen_last5minutes: Currently this is activeUsers.last5minutes.
users_seen_last1hour: Currently this is activeUsers.last1hour.
users_seen_last24hours: Currently this is activeUsers.last24hours.
The text was updated successfully, but these errors were encountered:
markuslf
changed the title
Please provide the value for "Disabled Users"
Please count more different user types
Mar 10, 2023
IMHO the code for "counting users" needs to be improved, especially when it comes to Nextcloud with a subscription key.
Have a look at the Nextcloud "support" app,
lib/Service/SubscriptionService.php
: It distinguishes and counts different types of users:So as a subscription holder and for resellers these values would be helpful (via API):
users_enabled
:$this->config->getUsersForUserValue('core', 'enabled', 'true');
users_disabled
:$this->config->getUsersForUserValue('core', 'enabled', 'false');
users_backend
: Number of users from backends like LDAPusers_total
: Total number of users known to Nextcloud, enabled and disabled, including users for each backend. Ideally,users_total
isusers_enabled + users_disabled
(today this is callednum_users
, but I'm not sure if the number is correct)And these for usage statistics:
users_seen_last5minutes
: Currently this isactiveUsers.last5minutes
.users_seen_last1hour
: Currently this isactiveUsers.last1hour
.users_seen_last24hours
: Currently this isactiveUsers.last24hours
.The text was updated successfully, but these errors were encountered: