Package com.gentics.api.lib.auth
Interface GenticsUser
-
- All Superinterfaces:
Resolvable
,Serializable
public interface GenticsUser extends Resolvable, Serializable
Interface for the Portal User
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getId()
Get the id of the userboolean
isAnonymous()
Check whether the user is anonymous (not logged in)boolean
isLoggedIn()
Check whether the user is logged in-
Methods inherited from interface com.gentics.api.lib.resolving.Resolvable
canResolve, get, getProperty
-
-
-
-
Method Detail
-
isLoggedIn
boolean isLoggedIn()
Check whether the user is logged in- Returns:
- true when the user is logged in, false if not
-
isAnonymous
boolean isAnonymous()
Check whether the user is anonymous (not logged in)- Returns:
- true when the user is anonymous, false if not
-
getId
String getId()
Get the id of the user- Returns:
- id of the user
-
-