RoxenCMS 5.4Web Developer ManualRXML Scopes & Entities

   

AC Scope
Client Scope
Cookie Scope
Form Scope
Header Scope
Page Scope
Request-Header Scope
Roxen Scope
User Scope
Var Scope

User

This scope contains information specific to a user.


&user.default-workarea; (provided by CMS: Tags)

The viewer's default workarea.


&user.editcols; (provided by CMS: Tags)

The number of columns the user has choosen for the internal editor.


&user.editor; (provided by CMS: Tags)

The name of the editor the user has choose, or 0 for the internal.


&user.editrows; (provided by CMS: Tags)

The number of rows the user has choosen for the internal editor.


&user.fullname; (provided by CMS: Tags)

The viewer's full name.


&user.history-entries; (provided by CMS: Tags)

The number of entries in the history.


&user.is-authenticated; (provided by CMS: Tags)

Returns 1 if the user is authenticated and 0 otherwise.


&user.is-editarea; (provided by CMS: Tags)

Returns 1 if the current page is viewed from the user's edit area and 0 otherwise. The edit area version is normally used when inside the SiteBuilder Content Editor or the Insite Editor, or when explicitly requested by setting the query variable __sb_edit_area.


&user.is-toolbar; (provided by CMS: Tags)

Returns 1 if the insite editor toolbar is active for this page and 0 otherwise.


&user.nl; (provided by CMS: Tags)

The kind of newline sequence choosen by the user.


&user.nojavascript; (provided by CMS: Tags)

Is javascript in SiteBuilder turned on or off.


&user.perm-profile; (provided by CMS: Tags)

Returns the current user's permission profile. Useful in cache tag cache keys, when the cache tag's contents depend on the permissions of the currently logged-in user but you don't want separate cache entries for different users having the same permissions.

Note!

Please note that using this value as a cache key only works in the view area. Edit areas need to be handled separately by testing for &user.is-editarea; and, if set, include &user.userid; in the cache key. Failing to do this may leak unpublished content to other users.


&user.theme; (provided by CMS: Tags)

The name of the present sitebuilder theme.


&user.type; (provided by CMS: Tags)

Is either "group" or "user" depending on the kind of user.


&user.userid; (provided by CMS: Tags)

Returns the unique internal Access Control user id. For use when doing web applications.


&user.username; (provided by CMS: Tags)

Returns the viewer's user name, used for login.