Server Script Query
Hi, I am attempting to return the user ID using server script.
I login the user and obtain the token then I query the collection using the token and the parameter which contains the username held in the collection, the result is the complete collection! How would id do this correctly?
The query:
var object={};
object = DatabaseUser.query(DB_id, { "username" : userName }, token);