Code for changing password

  • Thread starter Thread starter SF
  • Start date Start date
S

SF

Hi,

Normally in Access 2003, When I want to change my login password, I go to
Tool>Security>User and Group Accounts,l Change Logon Password.

Now I have disable the Menu Bar, I want to create a form (consist of three
fields: Old Password, New Password and Confirm Password) for changing
password.

Could someone show me the code for this purpose?

SF
 
Hi,


The method

Workspace.Users(index).NewPassword oldPassword, newPassword

is a possible solution.


=============
? DBEngine(0).Users(0).Name
admin

DBEngine(0).Users(0).NewPassword "", "toto"
=============



Hoping it may help,
Vanderghast, Access MVP
 
Back
Top