|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.as400.access.UserPermission
public class UserPermission
Represents the authority of a specific user.
Instances of UserPermission are returned by Permission.getUserPermission()
Field Summary | |
---|---|
static int |
GROUPINDICATOR_GROUP
Constant indicating that this user profile is a group. |
static int |
GROUPINDICATOR_SPECIALVALUE
Constant indicating that this user is neither a user nor a group. |
static int |
GROUPINDICATOR_USER
Constant indicating that this user profile is a user. |
Method Summary | |
---|---|
Object |
clone()
Returns a copy of this object. |
int |
getGroupIndicator()
Returns the value indicating if the user profile is a group profile. |
String |
getUserID()
Returns the user profile name for this permission. |
boolean |
isAuthorizationListManagement()
Indicates whether the user has the authority of authorization list management. |
boolean |
isFromAuthorizationList()
Indicates whether the user permission is from authorization list. |
void |
setAuthorizationListManagement(boolean autListMgt)
Sets the authority of authorization list management. |
void |
setFromAuthorizationList(boolean fromAutList)
Sets the permission of user as coming from an authorization list. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int GROUPINDICATOR_SPECIALVALUE
public static final int GROUPINDICATOR_USER
public static final int GROUPINDICATOR_GROUP
Method Detail |
---|
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public int getGroupIndicator()
public String getUserID()
public boolean isFromAuthorizationList()
public boolean isAuthorizationListManagement()
public void setAuthorizationListManagement(boolean autListMgt)
autListMgt
- true if the user has the authority
of authorization list management; false otherwise.public void setFromAuthorizationList(boolean fromAutList)
fromAutList
- true if the user is from the authorization list;
false otherwise.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |