Skip to content
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

Proposal: add new occ command to list users #26972

Closed
jvillafanez opened this issue Jan 19, 2017 · 8 comments
Closed

Proposal: add new occ command to list users #26972

jvillafanez opened this issue Jan 19, 2017 · 8 comments

Comments

@jvillafanez
Copy link
Member

jvillafanez commented Jan 19, 2017

The new occ command would list the uid of all the users.

  • The command would allow "limit" and "offset" options to limit the number of results
  • The command would allow some kind of filters (to be decided what filters and how) to avoid returning all the users.
    • by backend type (DB | LDAP)
    • by uid or displayname matching
    • others ....
  • It would only show the user's uid by default, one line per user (to be checked other formats)
  • By using other options (maybe something like "--show=uid --show=displayname") more info about the users could be shown. This will be limited to public well-know information with the exception of the uid.
    • To be decided what properties will be allowed (displayname, home directory, etc)
    • To be decided the specific format: "--show=" or "--show-uid"

This will allow easier scripting for the admins, and other small code snippets for testing.

@butonic
Copy link
Member

butonic commented Feb 10, 2017

adressed by #26184 ?

@jvillafanez
Copy link
Member Author

It could fit. We might need code snipets to see what we can do with #26184 , but looks promising.

@butonic
Copy link
Member

butonic commented Feb 28, 2017

JSON can be converted to CSV with https://stedolan.github.io/jq/

@PVince81
Copy link
Contributor

see #27425 for more ideas

@DeepDiver1975
Copy link
Member

we have a user:list command in place - close?

@mmattel
Copy link
Contributor

mmattel commented Dec 18, 2017

closing: yes

@DeepDiver1975
Copy link
Member

THX

@lock
Copy link

lock bot commented Aug 1, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants