Interface IHasUserID
-
public interface IHasUserIDInterface for objects having a user ID.- Author:
- Philip Helger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StringgetUserID()default booleanisAnonymousUser()
-
-
-
Method Detail
-
getUserID
String getUserID()
- Returns:
- The ID of the user. Presence requirement depends on use case.
-
isAnonymousUser
default boolean isAnonymousUser()
- Returns:
trueif the user ID equalsCUserID.USER_ID_GUEST
-
-