Create Users and Groups#
This how-to explains how to create Users in Dioptra.
Prerequisites#
Prepare Your Deployment - A deployment of Dioptra is required.
Prepare Your Deployment - A deployment of Dioptra is required.
Set Up the Python Client - Connect to the Python Client in a Jupyter Notebook.
User Creation Workflow#
Follow these steps to create and register a new user. You can perform these actions via the Graphical User Interface (GUI) or programmatically using the Python Client.
Step 1: Create the User#
Register a user with a username, email address, and password to be able to create and access resources.
In the Dioptra GUI, if you are not logged in, the front page will display a login screen. If you are logged in, click your username in the top right corner of the interface, and then click LOG OUT to log out.
Click Signup and enter the username, email address, and password for the user.
Click Register when finished to create the user.
Client Method:
Use the client to create the user.
- UsersCollectionClient.create(username: str, email: str, password: str) dioptra.client.users.T[source]#
Creates a Dioptra user.
- Parameters
username – The username of the new user.
email – The email address of the new user.
password – The password to set for the new user.
- Returns
The response from the Dioptra API.
Group Creation Workflow#
Note
Dioptra does not currently support the creation of additional groups. All resources are under the same default public group.
See Also#
Users and Groups - Understand what users and groups are for.
Users Reference - Reference page for users.
Groups Reference - Reference page for groups.