Interface UserCreateRequest
- All Known Implementing Classes:
ImmutableUserCreateRequest
public interface UserCreateRequest
User Creation Request.
- Author:
- Nick Kasprzak
-
Method Summary
Modifier and TypeMethodDescriptiondomain()Get the domain that the user should be created in.email()Get the email.fullname()Get the user's full name.password()Password of the newly created user.roleUuid()Get the role the user should belong to.Whether to send an email invitation when creating a user.username()Get the username.
-
Method Details
-
domain
String domain()Get the domain that the user should be created in.- Returns:
Stringdomain
-
fullname
String fullname()Get the user's full name.- Returns:
Stringfull name
-
username
String username()Get the username.- Returns:
Stringusername
-
email
String email()Get the email.- Returns:
Stringemail
-
roleUuid
Get the role the user should belong to. -
sendInvitation
Whether to send an email invitation when creating a user.- Returns:
- whether to send an email invention
-
password
Password of the newly created user. If this field is not passed then the user has to set their password upon first login.
-