Force Users to Set Passwords

  • Thread starter Thread starter Tom Stoddard
  • Start date Start date
T

Tom Stoddard

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?
 
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.
 
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.
 
Back
Top