Question : Reset user's password VBA

How can I reset a user's password using VBA. I want my admins to be able to do this through a button click on a form.

I considered:
DBEngine.Workspaces(0).Users(username).NewPassword

But for that to work you need to have the user's old password and you can't just use
DBEngine.Workspaces(0).Users(username).Password
to get it.

Answer : Reset user's password VBA

<rs(username).NewPassword>>

 You don't need to have the old password, but you do need to be a member of the admins group.

JimD.

Random Solutions  
 
programming4us programming4us