title: Filter shared inbox mail by user name which is stored in a user-defined field
body: <p>We are using a shared inbox. Each mail is assigned to a person. The assignment is done in a user-defined field &quot;Bearbeiter&quot; containing the name of the person.</p>
  <p>I want to define a view, in which the person only sees mails he is assigned. I can assign a DASL / sql-filter with the following.</p>
  <p><strong>The filter is formatted like a hyperlink but this is the filter condition.</strong><br />
  &quot;http://schemas.microsoft.com/mapi/string/{00020329-0000-0000-C000-000000000046}/Bearbeiter&quot; LIKE '%max%'</p>
  <p>I need 'max' to be replaced by the first name of the user, something like</p>
  <pre><code>instr(&quot;http://schemas.microsoft.com/mapi/string/{00020329-0000-0000-C000-000000000046}/Bearbeiter&quot;;username) &lt;&gt; 0
  </code></pre>
  <p>I could use VBA like in <a href="https://www.experts-exchange.com/questions/25904435/DASL-filter-in-Outlook-2003-Username.html" rel="nofollow noreferrer">https://www.experts-exchange.com/questions/25904435/DASL-filter-in-Outlook-2003-Username.html</a>, but that would mean I had to call the function every time, which I do not want.</p>