Record User Name through Custom Functions

I create users through Custom Functions.

But in the app’s user list the user is created with no username, or rather unknown.

Is it possible to put the username in App Users?

Hi Bruno – I believe that the users table/API will pick-up a ‘name’ field set in Custom Data.

It works like this:

return {id: result.insertedId.toString(), name};

Just return an object with the name property, instead of just returning a string with the user’s id.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.