With the help of the following DOS cmd we cah have elert messgae
net user %username% /domain | findstr /C:"Password expire"
You can call this command in Vijeo Citect with help of a batch file using function
Where Run.bat is a batch file with following codes:
net user %USERNAME% /domain | findstr /C:"Password expires"
Put this Run.bat file in C:\WINDOWS\system32.
You can call this function with a button or with help of events.