Password expired detection

Is there any way to detect, through scripting, that the password of a user has expired.

1 Like