<?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: ONTAPI to get windows name and SID for local Unix User and Groups. in General Discussion</title>
    <link>https://community.netapp.com/t5/General-Discussion/ONTAPI-to-get-windows-name-and-SID-for-local-Unix-User-and-Groups/m-p/154730#M758</link>
    <description>&lt;P&gt;The way that Windows displays those names and SIDs is, as far as I understand it, an attempt by Windows to approximate UNIX mode bits into something that resembles the style of NTFS permissions. That being said, I don't think you'll be able to get that specific data from the ONTAPI.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Mar 2020 17:50:28 GMT</pubDate>
    <dc:creator>donny_lang</dc:creator>
    <dc:date>2020-03-04T17:50:28Z</dc:date>
    <item>
      <title>ONTAPI to get windows name and SID for local Unix User and Groups.</title>
      <link>https://community.netapp.com/t5/General-Discussion/ONTAPI-to-get-windows-name-and-SID-for-local-Unix-User-and-Groups/m-p/154622#M752</link>
      <description>&lt;P&gt;Volume with security style mixed&amp;nbsp; is shared as CIFS share.&lt;/P&gt;
&lt;P&gt;When we access the CIFS share on windows machine and view permissions it shows UnixPermUid\root, UnixPermGid\root and UnixPerm\other for local Unix users and groups.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Anshul_0-1582874526167.png" style="width: 400px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/9602iDAAE149C5BECF2A9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Anshul_0-1582874526167.png" alt="Anshul_0-1582874526167.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The SID for these local Unix user and groups are:&lt;/P&gt;
&lt;P&gt;S-1-5-21-2038298172-1297133386-11111-0&amp;nbsp; &amp;nbsp;for&amp;nbsp;UnixPermUid\root&lt;/P&gt;
&lt;P&gt;S-1-5-21-2038298172-1297133386-22222-0&amp;nbsp; &amp;nbsp;for&amp;nbsp;UnixPermGid\root&amp;nbsp;&lt;/P&gt;
&lt;P&gt;S-1-5-21-2038298172-1297133386-33333&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for&amp;nbsp;UnixPerm\other&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The ONTAPI to fetch local Unix user users and groups are:&lt;/P&gt;
&lt;P&gt;name-mapping-unix-group-get-iter&lt;BR /&gt;name-mapping-unix-user-get-iter&lt;/P&gt;
&lt;P&gt;But these ONTAPI are not giving windows name and SID for local Unix users and groups.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to get the windows name and SID for local Unix users and groups programmatically?&lt;/P&gt;
&lt;P&gt;What is the ONTAPI to get windows name and SID for local Unix user and groups?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 11:17:46 GMT</pubDate>
      <guid>https://community.netapp.com/t5/General-Discussion/ONTAPI-to-get-windows-name-and-SID-for-local-Unix-User-and-Groups/m-p/154622#M752</guid>
      <dc:creator>Anshul</dc:creator>
      <dc:date>2025-06-04T11:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: ONTAPI to get windows name and SID for local Unix User and Groups.</title>
      <link>https://community.netapp.com/t5/General-Discussion/ONTAPI-to-get-windows-name-and-SID-for-local-Unix-User-and-Groups/m-p/154730#M758</link>
      <description>&lt;P&gt;The way that Windows displays those names and SIDs is, as far as I understand it, an attempt by Windows to approximate UNIX mode bits into something that resembles the style of NTFS permissions. That being said, I don't think you'll be able to get that specific data from the ONTAPI.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2020 17:50:28 GMT</pubDate>
      <guid>https://community.netapp.com/t5/General-Discussion/ONTAPI-to-get-windows-name-and-SID-for-local-Unix-User-and-Groups/m-p/154730#M758</guid>
      <dc:creator>donny_lang</dc:creator>
      <dc:date>2020-03-04T17:50:28Z</dc:date>
    </item>
  </channel>
</rss>

