List users without group


How can I list the users that already don’t have a group vinculated?
In the ‘manage users’ tab I can’t see if the user is attached to a group or not. The only way I’m seeing is going into each group and list the users there. There’s a less manual way to check this?


You could this programmatically.

First I would get a list of all of your users.

Then I would loop through all of your users and run the list-user-groups command for each username.

If they don’t have a group they will have an empty array for the “GroupList”

You can then store these users in a list somewhere.

Hope that helps.