Have you tried looking in the UDF section? There is the CheckPasswordExpiration() UDF that sounds like what you want.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.