Class UserProfile
- java.lang.Object
-
- com.saperion.ngc.model.authorization.UserProfile
-
public final class UserProfile extends java.lang.ObjectThis class provied access to the settings in the current user's profile.- Author:
- cmerkel
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserProfileget()Returns the profile of the current user.booleanisAdministrationAllowed()booleanisConfigureAllowed()booleanisDisplayAllowed()booleanisEditAllowed()booleanisImportAllowed()booleanisIndexingAllowed()booleanisQueryAllowed()java.lang.StringtoString()
-
-
-
Method Detail
-
get
public static UserProfile get()
Returns the profile of the current user.- Returns:
- the profile of the current user
-
isImportAllowed
public boolean isImportAllowed()
-
isIndexingAllowed
public boolean isIndexingAllowed()
-
isQueryAllowed
public boolean isQueryAllowed()
-
isDisplayAllowed
public boolean isDisplayAllowed()
-
isEditAllowed
public boolean isEditAllowed()
-
isAdministrationAllowed
public boolean isAdministrationAllowed()
-
isConfigureAllowed
public boolean isConfigureAllowed()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-