def get_maxdays(name):
 policies = _get_account_policy(name)
 if ('maxMinutesUntilChangePassword' in policies):
  max_minutes = policies['maxMinutesUntilChangePassword']
  return ((int(max_minutes) / 24) / 60)
 return 0

def get_maxdays ( name ) : policies = _get_account_policy ( name ) if ( 'maxMinutesUntilChangePassword' in policies ) : max_minutes = policies [ 'maxMinutesUntilChangePassword' ] return ( ( int ( max_minutes ) / 24 ) / 60 ) return 0
get the maximum age of the password .