[opencms-dev] opencms 6.2.2 | isSystemUser() returns false

Christian Steinert christian_steinert at web.de
Mon Aug 14 12:20:59 CEST 2006


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3269 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060814/8705196d/attachment.bin>


More information about the opencms-dev mailing list