com.sapportals.portal.prt.session
Interface IUserContext


public interface IUserContext

The IUserContext defines the user view of the environment in which the Portal Component is running.

It allows a Portal component to access users specific resources available for it. The UserContext acts a wrapper for the true User Object of the Portal.


Method Summary
 java.lang.String getLogonUid()
          Gets the logon id of this user.
 java.lang.Object getUser()
          Deprecated. this object itself is a user oject.
 java.lang.String getUserId()
          Deprecated. use getLogonUid()
 boolean isAdmin()
          Deprecated. this object itself is a user oject.
 boolean isAuthenticated()
          Return true if the user is authenticated in the User Management Service.
 

Method Detail

getUserId

public java.lang.String getUserId()
Deprecated. use getLogonUid()

Gets the user id of this user. The user id may differ from logon id.
Returns:
The user id of the user.

getLogonUid

public java.lang.String getLogonUid()
Gets the logon id of this user.
Returns:
The logon id of the user.

isAuthenticated

public boolean isAuthenticated()
Return true if the user is authenticated in the User Management Service. The information has to be provided by the User Management Service.

isAdmin

public boolean isAdmin()
Deprecated. this object itself is a user oject.

Return true if the user has admin rights. The information has to be provided by the User Management Service.

getUser

public java.lang.Object getUser()
Deprecated. this object itself is a user oject.

Gets the user from the underlying user management implementation. This is anonymous and may only be used in conjunction with the current implementation of the user management.