Reputation: 1
I can apply the filter to get the specific users while retrieving all the users based on givenName, familyName and email attributes. But the requirement is to apply the filter such that it excludes some users while retrieving all the users e.g i don't want users which has givenName=admin*. I know that we can do post processing locally once all the users has been returned by Google API but it may have performance impact to exclude the unwanted users locally.
Is there any way to pass the filter to google APIs so that it return the all the users excluding the unwanted users?
Upvotes: 0
Views: 57
Reputation: 13528
The users search query does not have a not or negate operator. You'll need to filter all results locally.
Upvotes: 1