Support Topics Documentation Slack YouTube Blog

Finding user by id

How do I find a certain user by id.

Hi, @Yomade_Stephens!

You can find certain user using object ID param when receiving data from database. You can familiarize yourself with this feature in the Rest-console https://develop.backendless.com/YOUR_APP_NAME/data/tables/YOUR_TABLE_NAME_F_E_users/rest-console .
For user with id 7293F7DD-CD34-BA12-FF45-B501B2A40400 it will be data/users/7293F7DD-CD34-BA12-FF45-B501B2A40400. Or you can use where clause, but it will return array with one user inside.

Did I answer your question? Feel free to ask more.

@Yomade_Stephens,

You need to use the findByID method documented here:
https://backendless.com/docs/android/data_basic_search.html

Mark