Function to retrieve uLastPasswordChange returns NULL, Other UserInfo properties return fine
Permalink
We have the need to check if the values returned for getUserDateAdded and getUserLastPasswordChange match in order to run some JS (User accounts are created automatically and we want to run certain code if they've logged in but haven't updated certain things in their profile).
getUserDateAdded returns a datetime successfully, but we are unable to retrieve the uLastPasswordChange value. We are using 8.2.1.
Thanks in advance for any help!
getUserDateAdded returns a datetime successfully, but we are unable to retrieve the uLastPasswordChange value. We are using 8.2.1.
$dateCreate = $ui->getUserDateAdded(); //returns proper datetime object $datePassUpdate = $ui->getUserLastPasswordChange(); //returns null
Thanks in advance for any help!
You can try this: