i am trying to check if the Check_Policy and Password_expiration is enabled or Disabled for a particular login. I can do this through SSMA but i would like to do this through TSQL.. i tried following thing but not getting null value for both enabled and disabled