Package org.xwiki.user
Class SuperAdminUserReference
- java.lang.Object
-
- org.xwiki.user.SuperAdminUserReference
-
- All Implemented Interfaces:
Serializable
,UserReference
public final class SuperAdminUserReference extends Object implements UserReference
Represents the Super Admin user reference, i.e. a virtual user that has all permissions. If you need to verify if a given UserReference is the Super Admin user, you should useif (myRef == SuperAdminUserReference.INSTANCE)
.- Since:
- 12.2
- Version:
- $Id: 9a4702260326708ff278e664711235fc526eb688 $
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static SuperAdminUserReference
INSTANCE
The unique instance of this class.
-
-
-
Field Detail
-
INSTANCE
public static final SuperAdminUserReference 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
-
-