Changing password in code

harrisw

Registered User.
Local time
Today, 17:59
Joined
Mar 27, 2001
Messages
131
I've created a form which lets a user change there own password in the database.

When it runs I get an error, I think the error relates to the users not having ADMIN rights to the database.

I've tried :

DBEngine(0).Users(txtUserName).Groups.Append ("supervisor")

but I get a compile error.

Is there a way that when the user clicks the update password button it temporarily assigns them admin rights and then removes them as the form closes.
 

Users who are viewing this thread

Back
Top Bottom