|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface that provides information about the currently logged in user.
Method Summary | |
boolean |
checkCurrentUserActivityRight(java.lang.String activityRightURI)
Returns true if the current user has the specified activity right. |
java.util.Enumeration |
getCurrentUserActivityRights()
Returns an enumeration of all the Activity Rights associated with the current user. |
int[] |
getCurrentUserGroups()
Returns a list of all of Group IDs for the groups of which the current user is a member. |
int |
getCurrentUserID()
Returns the current user ID. |
Method Detail |
public int[] getCurrentUserGroups() throws java.net.MalformedURLException, PortalException, java.rmi.RemoteException
java.net.MalformedURLException
- if the query interface URL is not valid
PortalException
- if the operation resulted in an error in the portal
java.rmi.RemoteException
- if there was a communication problem during the execution of the remote method callpublic int getCurrentUserID()
public boolean checkCurrentUserActivityRight(java.lang.String activityRightURI) throws java.net.MalformedURLException, PortalException, java.rmi.RemoteException
activityRightURI
- the URI of the activity right; This be be found in the portal Activity Rights Manager
java.net.MalformedURLException
PortalException
java.rmi.RemoteException
public java.util.Enumeration getCurrentUserActivityRights() throws java.net.MalformedURLException, PortalException, java.rmi.RemoteException
IPortletUser
, the activity rights returned are not the activity rights names,
but the activity rights URIs. The URI for activity rights can be found in the portal Activity Rights Manager.
java.net.MalformedURLException
PortalException
java.rmi.RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©2010 Oracle® Corporation. All Rights Reserved.