SetPasswordExpired
Mon 01 January 2018Syntax
SetPasswordExpired(NewValue)
Description
Use the SetPasswordExpired function to set the password expired status for the current user. When the user's password expired flag is set to True, they can only access the page that allows them to change their password. The function returns the old value, that is, the value that represented the status of the flag before it was set to NewValue .
Parameters
Field or Control |
Definition |
---|---|
NewValue |
Specify a new value for the user's password expired flag. This parameter takes a Boolean value |
Returns
A Boolean value: True if you've set the password expire flag to False, False if you've set the password expire flag to True.