Constructor and Description |
---|
User()
Creates a new user.
|
User(java.lang.String name)
Creates a new user with the specified name.
|
Modifier and Type | Method and Description |
---|---|
Group |
add(Group group)
Adds this user to the specified group.
|
boolean |
isAdministrator()
Does this user have administrative privileges?
|
add, addCredential, check, checkPassword, getCredentials, getData, getName, getSource, hasMember, hasMember, membership, membershipNames, remove, setCredentials, setData, setSource, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getValue, getValueKeys, setValue
public User()
public User(java.lang.String name)
name
- New name for the userpublic Group add(Group group)
group
- The group.public boolean isAdministrator()