<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Christoph,<br>
<br>
give a look at the class org.opencms.jsp.CmsJspLoginBean, you can
use the method login(java.lang.String userName, java.lang.String
password, java.lang.String projectName) to switch toward a
project after login. <br>
<br>
You can also use the method <code><strong><a
href="http://documentation.opencms.org/javadoc/core/org/opencms/file/CmsRequestContext.html#setCurrentProject%28org.opencms.file.CmsProject%29">setCurrentProject</a></strong>(<a
href="http://documentation.opencms.org/javadoc/core/org/opencms/file/CmsProject.html"
title="class in org.opencms.file">CmsProject</a> project) to
set the current project for the user</code><code>.</code><br>
<br>
I hope these tips are useful in your scenario.<br>
<br>
Kind regards<br>
Antonio Cordeddu<br>
<br>
<br>
On 27/04/2015 11:05, Christoph Kukulies wrote:<br>
</div>
<blockquote cite="mid:553DFBBE.80205@physik.rwth-aachen.de"
type="cite">I need to switch between the Online resp. Offline view
for users who log into my site.
<br>
"normal" Webusers should be directed to the "Online" project,
Admin and editors should go to the
<br>
Offline project in Direct Edit mode.
<br>
<br>
How could I achieve this?
<br>
<br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
_______________________________________________
Coranto informatica di Antonio Cordeddu
Via Torricelli, 9 09047 Selargius (CA) - Italy
<a class="moz-txt-link-abbreviated" href="mailto:antoniocordeddu@coranto.it">antoniocordeddu@coranto.it</a>
<a class="moz-txt-link-freetext" href="http://www.coranto.it">http://www.coranto.it</a>
_______________________________________________</pre>
</body>
</html>