-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export feature for user and group list #14715
Comments
I'm surprised nobody has commented on this. A user list export feature is something pretty basic and necessary. |
Me too... Due to this missing basic function I've experienced quite an embarrassing situation some time ago. A group manager of one of our user groups needed an overview of all group members. If I would have had more time, a database export might have been possible, but a professional UI shouldn't lack this feature. I wonder how large Nextcloud subscription users with several 1000 users handle this? |
+1, i need to emailm all user ... so create a list for Thunderbird and no Export user list function. |
LDAP
|
@kesselb Thank you! I did some minor changes because I don't like saving an unhashed admin password on the server and I needed a vertical list instead of the comma separated one. Calling this through external sites app is quite convenient 👍
|
I still think we should add a basic export feature sometimes. But in the meantime calling the api should do the trick.
Yep. Curl is able to do multiple request at once. Probably not 200 but 5 or 10: https://www.php.net/manual/en/function.curl-multi-init.php |
@kesselb I would like to enhance the code further, add some options to make it more versatile and publish it on github in a repository. |
@bpcurse I don't mind. There is probably another (python based) script somewhere. Some people at help.nextcloud.com shared it. |
The nextcloud-userexport script I made from the initial code provided above can be found here: I hope that it will be useful for some admins. Feedback, feature and pull requests are welcome. Happy holidays! |
I have just released an enhanced version (v1.0.0) of the before mentioned script. As it helps as a workaround I hope this isn't seen as hijacking this issue. |
Thanks for your script it is reallly usefull. Hope we could get this feature integrated in Nextcloud in the future |
There is an integration into nextcloud now, afaics. Also I'd say the feature described in this issues sounds like a good idea for a dedicated app. Feel free to post it in our "App ideas" section in the forum, to find a developer that wants to work on it: Cheers |
Btw. just in case someone has a benefit I use: |
It looks great but it doesn't work with me. |
The "Users¨ page is really not great to get an overview about users, their groups, etc. Looking for a way to export the data so that I can render it in a better way, I found this issue. Unfortunately, there is still no export function in the web interface, but if your use case is just better readability, and you have shell access to the server, you can use:
The output of user:list looks like YAML, but actually it is not. If you need to parse it to render it differently , the following Python script might be helpful as a basis:
|
Is your feature request related to a problem? Please describe.
There seems to be no simple way to export a list of all registered users. Especially on larger instances an external user overview with comments and task automation (like identifying long inactive users and notifying the admin to clean up) can be very handy.
Describe the solution you'd like
A simple button in the user management view, that exports the list to e.g. a csv file (or better: asks which format to export to and which columns should be included).
The same could be done to export a list of all existing groups, especially as the group management features in nextcloud are insufficient thus far.
Additional context
As the count of groups the individual user belongs to can differ a lot, a suitable export format should be chosen.
The text was updated successfully, but these errors were encountered: