Creates and returns a new user if the requesting user is staff. This works even if new signups are disabled.
Serializes a request body for creating a new user. Do not use for returning user data as the password will be returned also.
Designates whether this user should be treated as active. Set this to false instead of deleting accounts.
Designates whether this user is an admin and has access to all workspaces and Baserow's admin areas.
Serializes the safe user attributes to expose for a response back to the user.
The user's two factor auth provider state, or null when no provider is configured.