Uses of Class
org.salespointframework.useraccount.Role
-
Uses of Role in org.salespointframework.useraccount
Modifier and TypeMethodDescriptionboolean
Adds aRole
to theUserAccount
.final int
UserAccountManagement.create
(String userName, Password.UnencryptedPassword password, String emailAddress, Role... roles) Creates a newUserAccount
from the given username,Password.UnencryptedPassword
, email address and roles.UserAccountManagement.create
(String userName, Password.UnencryptedPassword password, Role... roles) Creates a newUserAccount
from the given username,Password.UnencryptedPassword
and roles.boolean
Checks if aUserAccount
has a specificRole
boolean
Removes aRole
from aUserAccount
.Modifier and TypeMethodDescriptionUserAccountManagement.create
(String userName, Password.UnencryptedPassword password, Iterable<Role> roles) Creates a newUserAccount
from the given username,Password.UnencryptedPassword
and roles.UserAccountManagement.create
(String userName, Password.UnencryptedPassword password, String emailAddress, Iterable<Role> roles) Creates a newUserAccount
from the given username,Password.UnencryptedPassword
, email address and roles.