def set_maxdays(name, days):
 minutes = ((days * 24) * 60)
 _set_account_policy(name, 'maxMinutesUntilChangePassword={0}'.format(minutes))
 return (get_maxdays(name) == days)

def set_maxdays ( name , days ) : minutes = ( ( days * 24 ) * 60 ) _set_account_policy ( name , 'maxMinutesUntilChangePassword={0}' . format ( minutes ) ) return ( get_maxdays ( name ) == days )
set the maximum number of days during which a password is valid .