<?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: &amp;quot;As the user viewing the report&amp;quot; in powershell in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/quot-As-the-user-viewing-the-report-quot-in-powershell/m-p/4203780#M37669</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="685426" data-lia-user-login="DuncanYeah" class="lia-mention lia-mention-user"&gt;DuncanYeah&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can open your Report server web portal and press F12 to enter the developer mode of the browser. Then, configure a data source for a random report. In the developer tools, you can see that when we need to use: As the user viewing the report, the authorization type passed by the powershell command is Integrated.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
    "Type": "Live",
    "Kind": "XXX",
    "AuthType": "Integrated",
    "SupportedAuthTypes": [
        "Integrated",
        "Impersonate",
        "Windows",
        "UsernamePassword"
    ],
    "Username": "",
    "Secret": "",
    "ModelConnectionName": ""
}&lt;/LI-CODE&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Jianpeng &lt;/SPAN&gt;&lt;SPAN&gt;Li&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;If this post &lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Oct 2024 01:53:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-10-01T01:53:42Z</dc:date>
    <item>
      <title>"As the user viewing the report" in powershell</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/quot-As-the-user-viewing-the-report-quot-in-powershell/m-p/4195811#M37494</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am working on changing the dashboard connection in Report Server by powershell squirt . However, i cannot change the Credentails to "&lt;SPAN&gt;As the user viewing the report".&lt;BR /&gt;&lt;BR /&gt;What should the $dataSource.DataModelDataSource.AuthType should be in order to get "As the user viewing the report".&lt;BR /&gt;&lt;BR /&gt;Thank You.&lt;BR /&gt;&lt;BR /&gt;Duncan&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 01:57:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/quot-As-the-user-viewing-the-report-quot-in-powershell/m-p/4195811#M37494</guid>
      <dc:creator>DuncanYeah</dc:creator>
      <dc:date>2024-09-30T01:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: "As the user viewing the report" in powershell</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/quot-As-the-user-viewing-the-report-quot-in-powershell/m-p/4203780#M37669</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="685426" data-lia-user-login="DuncanYeah" class="lia-mention lia-mention-user"&gt;DuncanYeah&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can open your Report server web portal and press F12 to enter the developer mode of the browser. Then, configure a data source for a random report. In the developer tools, you can see that when we need to use: As the user viewing the report, the authorization type passed by the powershell command is Integrated.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
    "Type": "Live",
    "Kind": "XXX",
    "AuthType": "Integrated",
    "SupportedAuthTypes": [
        "Integrated",
        "Impersonate",
        "Windows",
        "UsernamePassword"
    ],
    "Username": "",
    "Secret": "",
    "ModelConnectionName": ""
}&lt;/LI-CODE&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Jianpeng &lt;/SPAN&gt;&lt;SPAN&gt;Li&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;If this post &lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 01:53:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/quot-As-the-user-viewing-the-report-quot-in-powershell/m-p/4203780#M37669</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-10-01T01:53:42Z</dc:date>
    </item>
  </channel>
</rss>

