<?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: Qrs get all users with a specific custom property in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qrs-get-all-users-with-a-specific-custom-property/m-p/1600025#M10927</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/31029"&gt;@Mauritz_SA&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you find the answer to your last question?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am wanting to filter the response based on some attributes, but dont know how to "group" the filters together.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/qrs/user/full?filter=attributes.attributeValue eq 'value1' would work, except if another attribute also had a value of value1, then is would cause unexpected matches&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jul 2019 18:42:34 GMT</pubDate>
    <dc:creator>erisman20</dc:creator>
    <dc:date>2019-07-08T18:42:34Z</dc:date>
    <item>
      <title>Qrs get all users with a specific custom property</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qrs-get-all-users-with-a-specific-custom-property/m-p/1574565#M10427</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;I have custom property which I can assign to a user called AvailableStreams. This is used to determine which users have access to which streams with a generic security rule. How can I get all the users who have not been removed externally with a certain&amp;nbsp;AvailableStreams custom property value using an API?&lt;/P&gt;&lt;P&gt;I am able to get a list of users who are not removed externally using the following call:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;https://&amp;lt;server name&amp;gt;:4242/qrs/user/full?Xrfkey=0000000000000000&amp;amp;filter=removedExternally eq false &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;What do I need to add to the call to find all users which have a 'Client1' value in AvailableStreams?&lt;/P&gt;&lt;P&gt;It seems like it will be a &lt;SPAN&gt;customProperties&amp;nbsp;filter, but I have no idea what the syntax should be.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/February2019/APIs/repositoryserviceapi/index.html?page=1821" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/sense-developer/February2019/APIs/repositoryserviceapi/index.html?page=1821&lt;/A&gt;&lt;/P&gt;&lt;P&gt;PS: a user can have more than one&amp;nbsp;AvailableStreams custom property value.&lt;/P&gt;&lt;P&gt;I would appreciate any help.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mauritz&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;UPDATE:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;I got a partial solution just after posting the question.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;https://&amp;lt;server name&amp;gt;:4242/qrs/user/full?Xrfkey=0000000000000000&amp;amp;filter=removedExternally eq false and&amp;nbsp;customProperties.value eq 'Client1'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, with this I do not specify which Custom Property has to have a value equal to Client1. Is there a way that I can specify that the&amp;nbsp;AvailableStreams custom property should be equal to 'Client1'? I am just scared that in future I will dig a hole for myself if I want to manage other privileges using custom properties which might have the same values (i.e. having 'Client1' as a value for another custom property in future).&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:58:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qrs-get-all-users-with-a-specific-custom-property/m-p/1574565#M10427</guid>
      <dc:creator>Mauritz_SA</dc:creator>
      <dc:date>2024-11-16T05:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Qrs get all users with a specific custom property</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qrs-get-all-users-with-a-specific-custom-property/m-p/1574661#M10430</link>
      <description>You can always call things like so: /qrs/user/full?filter=(@foo eq 'bar'). Is that not working?</description>
      <pubDate>Mon, 29 Apr 2019 19:17:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qrs-get-all-users-with-a-specific-custom-property/m-p/1574661#M10430</guid>
      <dc:creator>Levi_Turner</dc:creator>
      <dc:date>2019-04-29T19:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Qrs get all users with a specific custom property</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qrs-get-all-users-with-a-specific-custom-property/m-p/1574823#M10434</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/47469"&gt;@Levi_Turner&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, that's exactly what I wanted! I will mark it as a solution. Can you maybe give me the syntax for filtering on user attributes (for example and attribute called SomeAttribute) as well?&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/qrs/user/full?filter= removedExternally eq false and (@AvailableStreams&amp;nbsp; eq 'Client1' or &lt;FONT color="#FF0000"&gt;SomeAttribute eq 'Client1'&lt;/FONT&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;After your previous message I assumed that custom properties have an @ before them and that attributes would not have anything (like in security rules), but I get a "Cannot convert the constant value: SomeAttribute" error in Postman.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Maybe I am searching incorrectly, but I was not able to find any examples of this. Is there a place which explains the syntax for using different Qlik 'elements' in API calls?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mauritz&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Update:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It seems like &lt;FONT color="#3366FF"&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;/qrs/user/full?filter= removedExternally eq false and (@AvailableStreams&amp;nbsp; eq 'Client1' or &lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN&gt;&lt;FONT color="#0000FF"&gt;attributes.attributeType eq 'SomeAttribute' and attributes.attributeValue eq 'Client1')&lt;/FONT&gt;&lt;FONT color="#000000"&gt; works. If this way of doing it is correct, how does it know that the attributeType and attributeValue refer to the same attribute and need to be considered together? For example, would this call not also return a user with a SomeAttribute value of 'Client2' and a SomeOtherAttribute value of 'Client1'? Or are the attributeType and attributeValue conditions considered as a pair? The reason why I am asking is because &lt;FONT color="#0000FF"&gt;qrs/user/full?filter= removedExternally eq false and (@AvailableStreams&amp;nbsp; eq 'Client1' or attributes.attributeValue eq 'Client1')&lt;/FONT&gt; also works and I just want to make sure that I cover all my bases.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 10:10:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qrs-get-all-users-with-a-specific-custom-property/m-p/1574823#M10434</guid>
      <dc:creator>Mauritz_SA</dc:creator>
      <dc:date>2019-04-30T10:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Qrs get all users with a specific custom property</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qrs-get-all-users-with-a-specific-custom-property/m-p/1600025#M10927</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/31029"&gt;@Mauritz_SA&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you find the answer to your last question?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am wanting to filter the response based on some attributes, but dont know how to "group" the filters together.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/qrs/user/full?filter=attributes.attributeValue eq 'value1' would work, except if another attribute also had a value of value1, then is would cause unexpected matches&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2019 18:42:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qrs-get-all-users-with-a-specific-custom-property/m-p/1600025#M10927</guid>
      <dc:creator>erisman20</dc:creator>
      <dc:date>2019-07-08T18:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: Qrs get all users with a specific custom property</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qrs-get-all-users-with-a-specific-custom-property/m-p/1600216#M10929</link>
      <description>&lt;P&gt;Hi there&lt;/P&gt;&lt;P&gt;It seems as if the &lt;SPAN&gt;attributes.attributeType&lt;/SPAN&gt; and &lt;SPAN&gt;attributes.attributeValue&lt;/SPAN&gt; are considered as a pair. So you would first specify which attribute (&lt;SPAN&gt;attributes.attributeType)&amp;nbsp;&lt;/SPAN&gt;and then filter on a value (&lt;SPAN&gt;attributes.attributeValue)&lt;/SPAN&gt;. A really nice way of getting the syntax (I stumbled upon it) is to actually build your filter in the users screen in the QMC and then inspect the POST that is made. In Chrome, do the following with the QMC Users page open:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Customise and control Google Chrome (top right)&lt;/LI&gt;&lt;LI&gt;More Tools -&amp;gt; Developer Tools&lt;/LI&gt;&lt;LI&gt;Click on Network&lt;/LI&gt;&lt;LI&gt;Set up your filter in the QMC and then make the Search call&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The syntax will then be displayed in the Headers pane on the right. Below is an example:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Get parameters.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/15117i87AB4458B88B39A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Get parameters.PNG" alt="Get parameters.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mauritz&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2019 06:44:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qrs-get-all-users-with-a-specific-custom-property/m-p/1600216#M10929</guid>
      <dc:creator>Mauritz_SA</dc:creator>
      <dc:date>2019-07-09T06:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Qrs get all users with a specific custom property</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qrs-get-all-users-with-a-specific-custom-property/m-p/1722254#M12950</link>
      <description>&lt;P&gt;Great tip!&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2020 15:53:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qrs-get-all-users-with-a-specific-custom-property/m-p/1722254#M12950</guid>
      <dc:creator>ryanplkam</dc:creator>
      <dc:date>2020-06-25T15:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: Qrs get all users with a specific custom property</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qrs-get-all-users-with-a-specific-custom-property/m-p/1894620#M16311</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/47469"&gt;@Levi_Turner&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;What filter we can use to /qrs/user endpoint to get the list of users with blank Custom Property?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 06:02:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qrs-get-all-users-with-a-specific-custom-property/m-p/1894620#M16311</guid>
      <dc:creator>babitaku</dc:creator>
      <dc:date>2022-02-18T06:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Qrs get all users with a specific custom property</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qrs-get-all-users-with-a-specific-custom-property/m-p/1894880#M16318</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/37359"&gt;@babitaku&lt;/a&gt;&amp;nbsp;: I am not aware of filtering on null. So you'd want to get all possible values then arrange a filter with them. Example: GET&amp;nbsp;/qrs/user/full?filter=@Country ne 'USA' and @Country ne 'Finland'&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 14:20:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qrs-get-all-users-with-a-specific-custom-property/m-p/1894880#M16318</guid>
      <dc:creator>Levi_Turner</dc:creator>
      <dc:date>2022-02-18T14:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Qrs get all users with a specific custom property</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qrs-get-all-users-with-a-specific-custom-property/m-p/2439280#M20341</link>
      <description>&lt;P&gt;This post really helped me with a query I needed to run over Qlik Sense users. I wanted to &lt;STRONG&gt;obtain all users with a specific value in a user attribute&lt;/STRONG&gt; (the ones that you cannot edit in the QMC).&lt;/P&gt;
&lt;P&gt;In the end, this filter did it for me:&lt;/P&gt;
&lt;LI-CODE lang="css"&gt;attributes.attributeType eq 'MyAttrName' and attributes.attributeValue eq 'MyAttrVal'&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/31029"&gt;@Mauritz_SA&lt;/a&gt;. Unfortunately, the filtering feature of the QRS API is very poorly documented.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 10:50:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qrs-get-all-users-with-a-specific-custom-property/m-p/2439280#M20341</guid>
      <dc:creator>cjgorrin</dc:creator>
      <dc:date>2024-04-09T10:50:25Z</dc:date>
    </item>
  </channel>
</rss>

