[opencms-dev] OpenCmsUser and Group in version 7

Alessio Zurleni azurleni at heptra.com
Thu Dec 13 11:44:32 CET 2007


Nguyen,

A web user is an authenticated user who cannot access the workplace.
Since version 7 this feature has been removed.
A guest user is an anonymous user who can only access published parts of
a website.
To have the group(s) a user belongs to, use the
<CmsObject>.getGroupsOfUser(String username, boolean directGroupsOnly)
function.
Regards,

Alessio

nguyen cong quang wrote:
> hi,
> - What is the different beetween isWebUser() (in version 6, not exist
> in version 7) and isGuestUser() (in Version 7) ( class CmsUser)
> - in Version 7 in jsp:
> +CmsJspLoginBean cms = new CmsJspLoginBean(pageContext, request,
>             response);
> +CmsUser cmsUser = cms.getRequestContext().currentUser();
>
> everythings is ok and now i want to know which group cmsUser belongs
> to, which funtion i could use?
>
> Thanks and Best Regards,
> Quang
>
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20071213/692be18f/attachment.htm>


More information about the opencms-dev mailing list