How do i fetch users complete users list from MORALIS DB

i want to list all the user’s names that are registered on my platform so everyone can view the other users & when someone click on their name i need to fetch the other details of that user too

you can call a cloud function that uses master key to read the data from all users

can you share any usefull links regarding cloud function