I don't want to use "all overrides" to remove everyone's setting of
password expiration and I'd rather not do a manual delete of the row from
sysattributes if there is another way to do this.
sp_modifylogin does not appear to cater for removing any changed
attributes (for instance, fullname cannot be reset back to NULL).
Ta muchly in advance
Raymond
Ramon
<Raymond_Mardle> wrote in message
news:8B6B465DFDF495C60033680F85256D2F.0033682C85256D2F@webforums...
sp_modifylogin "joe", @option="passwd expiration", @value="0"
Well i havent tried it myself (ill give it a shoot soon) but what i did
was and update to syslogins :
update syslogins
set pwdate="to something like 20 years from now"
where name = "login name"
The only inconvient that i have found so far (besides the update to a
system table) is that i need to update the pwdate to that value "way far in
the future" everytime i change the password for "login name".
Cheers
Raymond
Russ