T Tom Stoddard Sep 29, 2005 #1 Is there a way to set up a new user and then force them to create their own password the first time they log on?
Is there a way to set up a new user and then force them to create their own password the first time they log on?
J Joan Wild Sep 29, 2005 #2 You could attempt to open a DAO workspace in code using the CurrentUser() for the username, and a blank password. If the password is wrong (i.e. they have a password set), you can trap the error. If you get no error then you'll know it is blank, and can throw up a nice message, and a form for them to set their password.
You could attempt to open a DAO workspace in code using the CurrentUser() for the username, and a blank password. If the password is wrong (i.e. they have a password set), you can trap the error. If you get no error then you'll know it is blank, and can throw up a nice message, and a form for them to set their password.
T Tom Stoddard Sep 29, 2005 #3 That will work! Thanks! Joan Wild said: You could attempt to open a DAO workspace in code using the CurrentUser() for the username, and a blank password. If the password is wrong (i.e. they have a password set), you can trap the error. If you get no error then you'll know it is blank, and can throw up a nice message, and a form for them to set their password. Click to expand...
That will work! Thanks! Joan Wild said: You could attempt to open a DAO workspace in code using the CurrentUser() for the username, and a blank password. If the password is wrong (i.e. they have a password set), you can trap the error. If you get no error then you'll know it is blank, and can throw up a nice message, and a form for them to set their password. Click to expand...