mhergon mhergon - 1 year ago 123
Swift Question

Create users from client on Realm Mobile Platform

Is there anyway to create/register user with new product Realm Mobile Platform from


Answer Source

The following code example is in the official docs, but I haven't tested it:

let usernameCredential = Credential.usernamePassword(username: "username", password: "password", actions: [.createAccount])

the actions: [.createAccount] indicates that yes, you can create a user from an app, if that is what you meant.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download