public static class CheckUserPrivileges.Candidate extends Object
| Constructor and Description |
|---|
Candidate(UC4UserName name,
UserPrivileges.Privilege priv)
Creates a new
Candidate. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
UserPrivileges.Privilege |
getPrivilege()
Returns the privilege to check.
|
boolean |
getResult()
Returns the result of the check.
|
UC4UserName |
getUser()
Returns the name of the user.
|
int |
hashCode() |
String |
toString() |
public Candidate(UC4UserName name, UserPrivileges.Privilege priv)
Candidate.name - Name of the UC4 userpriv - Privilege which should be checkedpublic UC4UserName getUser()
public UserPrivileges.Privilege getPrivilege()
public boolean getResult()
true if the user holds the specified privilege, false if not.Copyright © 2021. All rights reserved.