Start a new topic

Users have limited discovery options vs Entities

I am confused as to why we can only discover a User using the following criteria: username, last_name, first_name, email, or , but we can search for entities using any of the fields in the Entity. Why are user look-ups more restrictive than queries?


User Lookup is just a limited variation of user querying, where the rules are enforced on the server side instead of the client. This allows your app to save private information with each user, but still supports discovery of who else is using the app. If your use case does not require storing any private or sensitive information, than just stick with the much more flexible (and exposing) user query api!

Thanks for the feedback Ed! Is there a way to use queries to look up users? I thought the [userLookUp]( "userLookUp") method was the only way .
Hey-- the User class contains a `retrieveBlocking(...)` that takes a query as a parameter, you can use that to retrieve a set of user objects:
Login or Signup to post a comment