Package com.artipie.management
Class Users.User
- java.lang.Object
-
- com.artipie.management.Users.User
-
-
Constructor Detail
-
User
public User(String name, Optional<String> mail, Set<String> groups)
Ctor.- Parameters:
name
- Name of the usermail
- User emailgroups
- User groups
-
User
public User(String name, Optional<String> email)
Ctor.- Parameters:
name
- Usernameemail
- User email
-
User
public User(String name)
Ctor.- Parameters:
name
- Username
-
-
Method Detail
-
name
public String name()
Get user name.- Returns:
- Name of the user
-
-