Class GuestUserReference

  • All Implemented Interfaces:
    Serializable, UserReference

    public final class GuestUserReference
    extends Object
    implements UserReference
    Represents the Super Admin user reference, i.e. a virtual user that is not logged in. If you need to verify if a given UserReference is the Guest user, you should use if (myRef == GuestUserReference.INSTANCE).
    $Id: 3bd77146e2ba28c36b4304259b111b39b97ab5ec $
    See Also:
    Serialized Form
    • Field Detail

      • INSTANCE

        public static final GuestUserReference INSTANCE
        The unique instance of this class.
    • Method Detail

      • isGlobal

        public boolean isGlobal()
        Specified by:
        isGlobal in interface UserReference
        true if this reference points to a global user