it.eng.spagobi.commons.utilities
Class UserUtilities

java.lang.Object
  extended by it.eng.spagobi.commons.utilities.UserUtilities

public class UserUtilities
extends java.lang.Object


Constructor Summary
UserUtilities()
           
 
Method Summary
static void createUserFunctionalityRoot(it.eng.spago.security.IEngUserProfile userProfile)
          Creates the user functionality root.
static it.eng.spago.security.IEngUserProfile getUserProfile()
          Gets the user profile.
static boolean userFunctionalityRootExists(java.lang.String username)
          User functionality root exists.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserUtilities

public UserUtilities()
Method Detail

getUserProfile

public static it.eng.spago.security.IEngUserProfile getUserProfile()
                                                            throws java.lang.Exception
Gets the user profile.

Returns:
the user profile
Throws:
java.lang.Exception - the exception

userFunctionalityRootExists

public static boolean userFunctionalityRootExists(java.lang.String username)
                                           throws java.lang.Exception
User functionality root exists.

Parameters:
username - the username
Returns:
true, if successful
Throws:
java.lang.Exception - the exception

createUserFunctionalityRoot

public static void createUserFunctionalityRoot(it.eng.spago.security.IEngUserProfile userProfile)
                                        throws java.lang.Exception
Creates the user functionality root.

Parameters:
userProfile - the user profile
Throws:
java.lang.Exception - the exception