<?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 Get the day remaining in PasswordExpirationDuration for a role in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Get-the-day-remaining-in-PasswordExpirationDuration-for-a-role/m-p/105021#M21519</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Is there a way to know how many more days are left so users using the role can be sent notifiation that their passwords are going to expire in these many days.&lt;/P&gt;&lt;P&gt;CLI, SDK or powershell anything will do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS H:\&amp;gt; Get-NcRoleConfig admin&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;RoleName : admin&lt;BR /&gt;Vserver : SVMA&lt;BR /&gt;MinUsernameSize : 3&lt;BR /&gt;RequireUsernameAlphaNumeric : False&lt;BR /&gt;MinPasswordSize : 8&lt;BR /&gt;RequirePasswordAlphaNumeric : True&lt;BR /&gt;ChangePasswordDurationInDays : 0&lt;BR /&gt;LastPasswordsDisallowedCount : 6&lt;BR /&gt;NcController : ClusterA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS H:\&amp;gt; $a = Get-NcRoleConfig admin&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PS H:\&amp;gt; $a.PasswordExpirationDuration&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;365&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Adai&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jun 2025 04:18:08 GMT</pubDate>
    <dc:creator>AdaikkappanArumugam</dc:creator>
    <dc:date>2025-06-05T04:18:08Z</dc:date>
    <item>
      <title>Get the day remaining in PasswordExpirationDuration for a role</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Get-the-day-remaining-in-PasswordExpirationDuration-for-a-role/m-p/105021#M21519</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Is there a way to know how many more days are left so users using the role can be sent notifiation that their passwords are going to expire in these many days.&lt;/P&gt;&lt;P&gt;CLI, SDK or powershell anything will do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS H:\&amp;gt; Get-NcRoleConfig admin&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;RoleName : admin&lt;BR /&gt;Vserver : SVMA&lt;BR /&gt;MinUsernameSize : 3&lt;BR /&gt;RequireUsernameAlphaNumeric : False&lt;BR /&gt;MinPasswordSize : 8&lt;BR /&gt;RequirePasswordAlphaNumeric : True&lt;BR /&gt;ChangePasswordDurationInDays : 0&lt;BR /&gt;LastPasswordsDisallowedCount : 6&lt;BR /&gt;NcController : ClusterA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS H:\&amp;gt; $a = Get-NcRoleConfig admin&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PS H:\&amp;gt; $a.PasswordExpirationDuration&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;365&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Adai&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 04:18:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Get-the-day-remaining-in-PasswordExpirationDuration-for-a-role/m-p/105021#M21519</guid>
      <dc:creator>AdaikkappanArumugam</dc:creator>
      <dc:date>2025-06-05T04:18:08Z</dc:date>
    </item>
  </channel>
</rss>

