<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Title content=""><meta name=Keywords content=""><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Menlo-Regular;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Calibri;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:595.0pt 842.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body bgcolor=white lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'>Hi Avi<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'>                Which page will this be appearing on?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'>--<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'>Adam<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'><o:p>&nbsp;</o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-family:Calibri;color:black'>From: </span></b><span style='font-family:Calibri;color:black'>&lt;eprints-tech-bounces@ecs.soton.ac.uk&gt; on behalf of &quot;Stenger, Avischai&quot; &lt;avischai.stenger@ulb.tu-darmstadt.de&gt;<br><b>Reply-To: </b>&lt;eprints-tech@ecs.soton.ac.uk&gt;<br><b>Date: </b>Thursday, 1 June 2017 15:48<br><b>To: </b>&quot;eprints-tech@ecs.soton.ac.uk&quot; &lt;eprints-tech@ecs.soton.ac.uk&gt;<br><b>Subject: </b>Re: [EP-tech] currrent_user =&gt; usertype<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p></div><p class=MsoNormal style='margin-left:36.0pt'>Hi Adam, <o:p></o:p></p><div><p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'>i what to show a button only for usertype &#8222;admin&quot; or &#8222;editor&quot;. all other user shouldn&#8217;t see it.<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'>Avi<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p><div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal style='margin-left:36.0pt'>Am 01.06.2017 um 16:37 schrieb Adam Field &lt;<a href="mailto:adam@adamfield.net">adam@adamfield.net</a>&gt;:<o:p></o:p></p></div><p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p><div><div><p class=MsoNormal style='margin-left:36.0pt;background:white'><span style='font-size:11.0pt;font-family:Calibri'>Hi Avi</span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt;background:white'><span style='font-size:11.0pt;font-family:Calibri'>&nbsp;</span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt;background:white'><span style='font-size:11.0pt;font-family:Calibri'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I don&#8217;t think so.&nbsp; What&#8217;s your use-case?</span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt;background:white'><span style='font-size:11.0pt;font-family:Calibri'>&nbsp;</span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt;background:white'><span style='font-size:11.0pt;font-family:Calibri'>--</span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt;background:white'><span style='font-size:11.0pt;font-family:Calibri'>Adam</span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt;background:white'><span style='font-size:11.0pt;font-family:Calibri'>&nbsp;</span><o:p></o:p></p></div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><div style='margin-left:36.0pt'><p class=MsoNormal style='margin-left:36.0pt;background:white'><b><span style='font-family:Calibri'>From:<span class=apple-converted-space>&nbsp;</span></span></b><span style='font-family:Calibri'>&lt;<a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk"><span style='color:purple'>eprints-tech-bounces@ecs.soton.ac.uk</span></a>&gt; on behalf of &quot;Stenger, Avischai&quot; &lt;<a href="mailto:avischai.stenger@ulb.tu-darmstadt.de"><span style='color:purple'>avischai.stenger@ulb.tu-darmstadt.de</span></a>&gt;<br><b>Reply-To:<span class=apple-converted-space>&nbsp;</span></b>&lt;<a href="mailto:eprints-tech@ecs.soton.ac.uk"><span style='color:purple'>eprints-tech@ecs.soton.ac.uk</span></a>&gt;<br><b>Date:<span class=apple-converted-space>&nbsp;</span></b>Thursday, 1 June 2017 15:30<br><b>To:<span class=apple-converted-space>&nbsp;</span></b>&quot;<a href="mailto:eprints-tech@ecs.soton.ac.uk"><span style='color:purple'>eprints-tech@ecs.soton.ac.uk</span></a>&quot; &lt;<a href="mailto:eprints-tech@ecs.soton.ac.uk"><span style='color:purple'>eprints-tech@ecs.soton.ac.uk</span></a>&gt;<br><b>Subject:<span class=apple-converted-space>&nbsp;</span></b>[EP-tech] currrent_user =&gt; usertype</span><o:p></o:p></p></div></div><div><div style='margin-left:36.0pt'><p class=MsoNormal style='margin-left:36.0pt;background:white'>&nbsp;<o:p></o:p></p></div></div><div><div style='margin-left:36.0pt'><p class=MsoNormal style='margin-left:36.0pt;background:white'>Hi all,<o:p></o:p></p></div></div><div><div style='margin-left:36.0pt'><p class=MsoNormal style='margin-left:36.0pt;background:white'>&nbsp;<o:p></o:p></p></div></div><div><div style='margin-left:36.0pt'><p class=MsoNormal style='margin-left:36.0pt;background:white'>&nbsp;<o:p></o:p></p></div></div><div><div style='margin-left:36.0pt'><p class=MsoNormal style='margin-left:36.0pt;background:white'>is there a way to find out the &#8222;usertype&#8220; of the current session in a static-page (lile lang/de/testfile.xpage ) or in a phrases-file (lang/en/zz_webcfg.xml) ?<o:p></o:p></p></div></div><div><div style='margin-left:36.0pt'><p class=MsoNormal style='margin-left:36.0pt;background:white'>&nbsp;<o:p></o:p></p></div></div><div><div style='margin-left:36.0pt'><p class=MsoNormal style='margin-left:36.0pt;background:white'>&nbsp;<o:p></o:p></p></div></div><div><div style='margin-left:36.0pt'><p class=MsoNormal style='margin-left:36.0pt;background:white'>&nbsp;<o:p></o:p></p></div></div><div><div style='margin-left:36.0pt'><p class=MsoNormal style='margin-left:36.0pt;background:white'>Tnks<o:p></o:p></p></div></div><div><div style='margin-left:36.0pt'><p class=MsoNormal style='margin-left:36.0pt;background:white'>&nbsp;<o:p></o:p></p></div></div><div><div style='margin-left:36.0pt'><p class=MsoNormal style='margin-left:36.0pt;background:white'>&nbsp;<o:p></o:p></p></div></div><div><div style='margin-left:36.0pt'><p class=MsoNormal style='margin-left:36.0pt;background:white'>Avi<o:p></o:p></p></div></div><div><div style='margin-left:36.0pt'><p class=MsoNormal style='margin-left:36.0pt;background:white'>&nbsp;<o:p></o:p></p></div></div><div><div style='margin-left:36.0pt'><p class=MsoNormal style='margin-left:36.0pt;background:white'>*** Options:<span class=apple-converted-space>&nbsp;</span><a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech"><span style='color:purple'>http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</span></a><o:p></o:p></p></div></div><div><div style='margin-left:36.0pt'><p class=MsoNormal style='margin-left:36.0pt;background:white'>*** Archive:<span class=apple-converted-space>&nbsp;</span><a href="http://www.eprints.org/tech.php/"><span style='color:purple'>http://www.eprints.org/tech.php/</span></a><o:p></o:p></p></div></div><div><div style='margin-left:36.0pt'><p class=MsoNormal style='margin-left:36.0pt;background:white'>*** EPrints community wiki:<span class=apple-converted-space>&nbsp;</span><a href="http://wiki.eprints.org/"><span style='color:purple'>http://wiki.eprints.org/</span></a><o:p></o:p></p></div></div><div><div style='margin-left:36.0pt'><p class=MsoNormal style='margin-left:36.0pt;background:white'>*** EPrints developers Forum:<span class=apple-converted-space>&nbsp;</span><a href="http://forum.eprints.org/"><span style='color:purple'>http://forum.eprints.org/</span></a><o:p></o:p></p></div></div><div><div style='margin-left:36.0pt'><p class=MsoNormal style='margin-left:36.0pt;background:white'>&nbsp;<o:p></o:p></p></div></div><p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;font-family:Menlo-Regular;background:white'>*** Options:<span class=apple-converted-space>&nbsp;</span></span><a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech"><span style='font-size:10.0pt;font-family:Menlo-Regular;color:purple;background:white'>http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</span></a><span style='font-size:10.0pt;font-family:Menlo-Regular'><br><span style='background:white'>*** Archive:<span class=apple-converted-space>&nbsp;</span></span></span><a href="http://www.eprints.org/tech.php/"><span style='font-size:10.0pt;font-family:Menlo-Regular;color:purple;background:white'>http://www.eprints.org/tech.php/</span></a><span style='font-size:10.0pt;font-family:Menlo-Regular'><br><span style='background:white'>*** EPrints community wiki:<span class=apple-converted-space>&nbsp;</span></span></span><a href="http://wiki.eprints.org/"><span style='font-size:10.0pt;font-family:Menlo-Regular;color:purple;background:white'>http://wiki.eprints.org/</span></a><span style='font-size:10.0pt;font-family:Menlo-Regular'><br><span style='background:white'>*** EPrints developers Forum:<span class=apple-converted-space>&nbsp;</span></span></span><a href="http://forum.eprints.org/"><span style='font-size:10.0pt;font-family:Menlo-Regular;color:purple;background:white'>http://forum.eprints.org/</span></a><o:p></o:p></p></div></blockquote></div><p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p></div><p class=MsoNormal style='margin-left:36.0pt'>*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/ *** EPrints developers Forum: http://forum.eprints.org/ <o:p></o:p></p></div></body></html>