ONTAP Discussions

Get the day remaining in PasswordExpirationDuration for a role

AdaikkappanArumugam

Hi All,

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.

CLI, SDK or powershell anything will do.

 

 

PS H:\> Get-NcRoleConfig admin


RoleName : admin
Vserver : SVMA
MinUsernameSize : 3
RequireUsernameAlphaNumeric : False
MinPasswordSize : 8
RequirePasswordAlphaNumeric : True
ChangePasswordDurationInDays : 0
LastPasswordsDisallowedCount : 6
NcController : ClusterA

 

PS H:\> $a = Get-NcRoleConfig admin

PS H:\> $a.PasswordExpirationDuration
365

 

 

Regards

Adai

0 REPLIES 0
Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public