Package com.gentics.api.lib.auth
Interface GenticsUser
- All Superinterfaces:
Resolvable,Serializable
Interface for the Portal User
-
Method Summary
Modifier and TypeMethodDescriptiongetId()Get the id of the userbooleanCheck whether the user is anonymous (not logged in)booleanCheck whether the user is logged inMethods inherited from interface com.gentics.api.lib.resolving.Resolvable
canResolve, get, getProperty
-
Method Details
-
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
-