<?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 get the current userName in a Fabric Notebook in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/How-to-get-the-current-userName-in-a-Fabric-Notebook/m-p/3532381#M1037</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/588011"&gt;@JDawsonGLP&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Glad that your query got resolved. Please continue using Fabric Community for any help regarding your queries.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Nov 2023 07:08:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-11-14T07:08:20Z</dc:date>
    <item>
      <title>How to get the current userName in a Fabric Notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/How-to-get-the-current-userName-in-a-Fabric-Notebook/m-p/3531602#M1034</link>
      <description>&lt;P&gt;Hi -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to use the Change Feed capability in Delta tables when using Lakehouse and Notebooks. The History feature works great, and you can enable the Change Feed on a table to track and report detailed changes. However with the default Spark Session behaviour the userID and userName are always NULL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to figure out how to get the "current user" that's submitting to spark from the notebook. I have tried mssparkutils, and when you use "&lt;SPAN&gt;spark.sparkContext.sparkUser()" you always get "trusted-service-user". Spark UI also shows this, but when you go to the "All Runs" view, is clearly knows the user ID of the Submitter.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 20:56:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/How-to-get-the-current-userName-in-a-Fabric-Notebook/m-p/3531602#M1034</guid>
      <dc:creator>JDawsonGLP</dc:creator>
      <dc:date>2023-11-13T20:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the current userName in a Fabric Notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/How-to-get-the-current-userName-in-a-Fabric-Notebook/m-p/3532242#M1035</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/588011"&gt;@JDawsonGLP&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thanks for using Fabric Community.&lt;BR /&gt;Apologies for the issue you have been facing. Currently there is no workaround to&amp;nbsp;&lt;SPAN&gt;get the name of the current user that's submitting to spark from the notebook.&amp;nbsp;We will have to wait until mssparkutils environment &lt;STRONG&gt;utils&lt;/STRONG&gt; is ready. This is planned and is on road map. ETA : Q4 2023&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Appreciate your patience.&lt;BR /&gt;Hope this helps. Please let us know if you have any further questions. Glad to help.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2023 05:50:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/How-to-get-the-current-userName-in-a-Fabric-Notebook/m-p/3532242#M1035</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-14T05:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the current userName in a Fabric Notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/How-to-get-the-current-userName-in-a-Fabric-Notebook/m-p/3532377#M1036</link>
      <description>&lt;P&gt;OK - thanks for the reply, I was trying the mssparkutils.env methods and saw they weren't available yet.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Appreciate your response, I'll keep an eye on the blog for updates. As long as it's on the roadmap soon it's fine.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2023 07:06:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/How-to-get-the-current-userName-in-a-Fabric-Notebook/m-p/3532377#M1036</guid>
      <dc:creator>JDawsonGLP</dc:creator>
      <dc:date>2023-11-14T07:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the current userName in a Fabric Notebook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/How-to-get-the-current-userName-in-a-Fabric-Notebook/m-p/3532381#M1037</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/588011"&gt;@JDawsonGLP&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Glad that your query got resolved. Please continue using Fabric Community for any help regarding your queries.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2023 07:08:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/How-to-get-the-current-userName-in-a-Fabric-Notebook/m-p/3532381#M1037</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-14T07:08:20Z</dc:date>
    </item>
  </channel>
</rss>

