Force Users to Set Passwords

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?
 
J

Joan Wild

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

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top