Interface GenticsUser

All Superinterfaces:
Resolvable, Serializable

public interface GenticsUser extends Resolvable, Serializable
Interface for the Portal User
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the id of the user
    boolean
    Check whether the user is anonymous (not logged in)
    boolean
    Check whether the user is logged in

    Methods 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