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

Get inactive users #1121

Closed
abdhannan opened this issue Aug 15, 2017 · 3 comments
Closed

Get inactive users #1121

abdhannan opened this issue Aug 15, 2017 · 3 comments

Comments

@abdhannan
Copy link

How can we get all inactive user ?I know to get all users, we can use
$this->ion_auth->users()->result();
But, I want to filter to retrieve only inactive users

@benedmunds
Copy link
Owner

Should be able to do something like:

$this->ion_auth->where('users.active', 0)->users()->result();

@abdhannan
Copy link
Author

Thank you so much, Benedmunds.
Great library, great work, i really appreciated

@benedmunds
Copy link
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants