com.filenet.wcm.toolkit.server.base
Interface WcmUserInformationInterface

All Known Implementing Classes:
WcmServerCredentials

public interface WcmUserInformationInterface

Interface describing information about the current user


Method Summary
 java.util.Map getUserExtraInformation()
          Returns extra information for the user
 java.lang.String getUserId()
          Returns user id
 boolean isGuest()
          Returns true if the user is a guest
 boolean isMemberOf(java.lang.String groupName)
          Checks if the user is a member of a group
 boolean isMemberOf(java.lang.String[] groupNames)
          Checks if the user is a member of any of the groups passed in as groupNames parameter
 

Method Detail

getUserId

public java.lang.String getUserId()
Returns user id

Returns:

getUserExtraInformation

public java.util.Map getUserExtraInformation()
                                      throws java.lang.Exception
Returns extra information for the user

Returns:
Map
Throws:
java.lang.Exception

isGuest

public boolean isGuest()
                throws java.lang.Exception
Returns true if the user is a guest

Returns:
true of false
Throws:
java.lang.Exception

isMemberOf

public boolean isMemberOf(java.lang.String groupName)
Checks if the user is a member of a group

Parameters:
groupName -
Returns:

isMemberOf

public boolean isMemberOf(java.lang.String[] groupNames)
Checks if the user is a member of any of the groups passed in as groupNames parameter

Parameters:
groupNames -
Returns:


© Copyright IBM Corp. 2002, 2007. All Rights Reserved.