<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to Parse OSUser() and store the result in a variable in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-Parse-OSUser-and-store-the-result-in-a-variable/m-p/1525511#M37764</link>
    <description>&lt;P&gt;This might work as well&lt;/P&gt;&lt;PRE&gt;SubField(OSUser(), '=', -1)&lt;/PRE&gt;</description>
    <pubDate>Wed, 02 Jan 2019 16:33:18 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2019-01-02T16:33:18Z</dc:date>
    <item>
      <title>How to Parse OSUser() and store the result in a variable</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-Parse-OSUser-and-store-the-result-in-a-variable/m-p/1525501#M37757</link>
      <description>&lt;P&gt;For our application, we need to be able to retrieve the current user ID so that we can use it to look up data entitlements.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently, OSUser() is returning "UserDirectory=Directory1; UserId=user234"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What expression can I use to store only "user234" in a variable? I'm having trouble finding String manipulation functions that would help solve this problem in Qlik Sense.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:57:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-Parse-OSUser-and-store-the-result-in-a-variable/m-p/1525501#M37757</guid>
      <dc:creator>elijahabel</dc:creator>
      <dc:date>2024-11-16T06:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to Parse OSUser() and store the result in a variable</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-Parse-OSUser-and-store-the-result-in-a-variable/m-p/1525504#M37759</link>
      <description>&lt;P&gt;You could use: subfield(subfield(osuser(), ';', 2), '=', 2)&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2019 16:23:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-Parse-OSUser-and-store-the-result-in-a-variable/m-p/1525504#M37759</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-01-02T16:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to Parse OSUser() and store the result in a variable</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-Parse-OSUser-and-store-the-result-in-a-variable/m-p/1525511#M37764</link>
      <description>&lt;P&gt;This might work as well&lt;/P&gt;&lt;PRE&gt;SubField(OSUser(), '=', -1)&lt;/PRE&gt;</description>
      <pubDate>Wed, 02 Jan 2019 16:33:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-Parse-OSUser-and-store-the-result-in-a-variable/m-p/1525511#M37764</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-01-02T16:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to Parse OSUser() and store the result in a variable</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-Parse-OSUser-and-store-the-result-in-a-variable/m-p/1525588#M37783</link>
      <description>&lt;P&gt;Marking this the correct solution because it is a little cleaner. Thank you, both!&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2019 20:12:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-Parse-OSUser-and-store-the-result-in-a-variable/m-p/1525588#M37783</guid>
      <dc:creator>elijahabel</dc:creator>
      <dc:date>2019-01-02T20:12:13Z</dc:date>
    </item>
  </channel>
</rss>

