bpcurse / nextcloud-userexport

PHP script to export and filter lists (users, groups and groupfolders) using different Nextcloud APIs
The Unlicense
12 stars 3 forks source link

Account creation date versus Last login #52

Open MaxiReglisse opened 3 years ago

MaxiReglisse commented 3 years ago

very good job, thank you for this work!

is it possible to extract the creation date of the account, and not only the last login date ?

bpcurse commented 3 years ago

@MaxiReglisse Thank you for your kind feedback! I'm happy to hear this software is helpful to others :)

Agreed this would be useful information, but I'm afraid the response of the user metadata API doesn't contain it. It doesn't even seem to be available to the normal user management or through occ commands (see https://github.com/nextcloud/server/issues/22640) as well as in the database (only on a quick glance).

I have created a new issue in the server repository, proposing to include this information in the API response (https://github.com/nextcloud/server/issues/26791). If it is added to the API I will be happy to include it here.