in reply to Using Win32::NetAdmin to change passwords

Maybe it is just as simple as using UserSetAttributes instead of SetUserAttributes on line 9?