<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Nguyen,<br>
<br>
A web user is an authenticated user who cannot access the workplace.
Since version 7 this feature has been removed.<br>
A guest user is an anonymous user who can only access published parts
of a website.<br>
To have the group(s) a user belongs to, use the
<CmsObject>.getGroupsOfUser(String username, boolean
directGroupsOnly) function.<br>
Regards,<br>
<br>
Alessio<br>
<br>
nguyen cong quang wrote:
<blockquote
cite="mid:88386d940712130048n6682702akadb1bb734f8280ed@mail.gmail.com"
type="cite">hi,<br>
- What is the different beetween isWebUser() (in version 6, not exist
in version 7) and isGuestUser() (in Version 7) ( class CmsUser)<br>
- in Version 7 in jsp:<br>
+CmsJspLoginBean cms = new CmsJspLoginBean(pageContext, request,
<br>
response);<br>
+CmsUser cmsUser = cms.getRequestContext().currentUser();<br>
<br>
everythings is ok and now i want to know which group cmsUser belongs
to, which funtion i could use?<br>
<br>
Thanks and Best Regards,
<br>
Quang<br>
<br>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
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
<a class="moz-txt-link-freetext" href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</a></pre>
</blockquote>
</body>
</html>