Package org.xwiki.user
Class CurrentUserReference
- java.lang.Object
-
- org.xwiki.user.CurrentUserReference
-
- All Implemented Interfaces:
Serializable
,UserReference
public final class CurrentUserReference extends Object implements UserReference
Represents a reference to the current logged-in user.- Since:
- 12.2
- Version:
- $Id: 4efd01af51561e6d53e136c73c30ccf82724dc27 $
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static CurrentUserReference
INSTANCE
The unique instance of this class.
-
-
-
Field Detail
-
INSTANCE
public static final CurrentUserReference INSTANCE
The unique instance of this class.
-
-
Method Detail
-
isGlobal
public boolean isGlobal()
- Specified by:
isGlobal
in interfaceUserReference
- Returns:
- true if this reference points to a global user
-
-