com.gentics.api.lib.auth
Interface GenticsUser

All Superinterfaces:
Resolvable, java.io.Serializable

public interface GenticsUser
extends Resolvable, java.io.Serializable

Interface for the Portal User


Method Summary
 java.lang.String getId()
          Get the id of the user
 boolean 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

java.lang.String getId()
Get the id of the user

Returns:
id of the user


Copyright © 2013 Gentics Software GmbH. All Rights Reserved.