Signs in to a root, namespace, database or record user.
Arguments
| Properties | Description |
|---|---|
username
| The username of the database user |
password
| The password of the database user |
namespace
| The namespace to sign in to |
database
| The database to sign in to |
access
| The access method to sign in to. Also pass any variables used in the access definition. |
Example usage
You can invalidate the authentication for the current connection using the invalidate() method.