[opencms-dev] opencms 6.2.2 | isSystemUser() returns false
Joachim Zittmayr
joachim at imap.cc
Mon Aug 14 16:49:46 CEST 2006
hi christian, hi roman!
thank u very much for your advices and hints!
i owe u 1! ;-)
On Mon, 14 Aug 2006 12:20:59 +0200, "Christian Steinert"
<christian_steinert at web.de> said:
> Roman Uhlig schrieb:
> > Hi Joachim!
> >
> > We have been trying this without success as well some time ago. I guess the
> > question is: what exactly IS a system user? User who may login into the
> > workplace? Admins? For all of these there are other methods to test for.
> > E.g. to determine if a user is admin, you could use:
> >
> > CmsJspActionElement.getCmsObject().hasRole(org.opencms.security.CmsRole.ADMINISTRATOR)
> >
> > Check org.opencms.security.CmsRole for other constants.
> > I hope this helps.
> >
> > Roman
> >
> >
> >
>
> You wrote that normal workplace users are not considered "System users".
> So my guess would be that an example for a system user might be the
> "Export" user that is used by the system itself in the background.
>
> christian
--
Joachim Zittmayr
joachim at imap.cc
--
http://www.fastmail.fm - And now for something completely different
More information about the opencms-dev
mailing list