A switch to control the assumed role of the logged in user. The property is set as a property of the user's private space.

Identifier
pretend-being-a
Data Type
string
Value Range
reader, writer, printer

Some macros provide a different view for authors (with editing permissions), readers (without editing permissions), and printers (like reader and applying Print Quirk Modes). This property allows to change the behaviour of macros without touching the user's privileges.

If an author wants to see, how a document is presented to a reader, the property pretend-being-a is set to reader.

Resources

Being a Pretender
Authors occasionally need to have a look at a page as if they where in the role of a reader. The pretend-being-a user space property supports switching roles. With the use of the Web API Extension and the Bookmarklets Extension switching roles is now really easy!
Views on Documents
Switch views on documents dependent on the user's role by setting space properties in the user's homepage.
Pretender
A Bookmarklet that changes the pretended role of a user.