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.
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.