Joan Wild said:
A user needs to be a member of the Admins Group in order to create a user.
You can create a separate mdw file for shipping with your app (separate mdw
than the one you secured it with). You can set up a user in this
'production' mdw that the person uses to first gain access. Make it a
member of the Admins group, and then once they're in, they can create a new
user and assign to your groups.
Thanks, Joan, for the suggestion. Uhhh... that opens up another can of
worms...
Right now, I'm the only member of the "Admins" group and that group has full
rights to everything. Of course, I don't want a new user to have those
rights. Soooooooo....
When I create this "production" MDW file, should I give it esentially no
rights to the application (i.e. it can just be used to create a user account,
and then assign myself to another "admins" group (e.g. "MyAppOwner" that has
full rights? If I go that route, do I lose any rights because I'm not a
member of Access' default Admins group even though I'm the owner of the
database?
Just so it's clear what I'm trying to accomplish, here's the process flow
I'm trying to implement.
1. When the application starts, a "Startup" form is loaded. The OnLoad
event of this form checks to see if the EULA has been agreed to (right now,
this is stored in a boolean field on a table in the FE) and, if so, It
cancels opening the form and loads the log-on screen so the user can log-on.
2. If the EULA hasn't been agreed to, the Startup form presents the EULA to
the user and gives them a check box to check if they agree. There's also a
check box for "I just want to look around." The user can check one (but not
both) of the check boxes and then click the "Continue" command button. If
the user clicks "Continue" without checking one of the two check boxes, the
applications closes.
3. If the user checks "I just want to look around," and then "Continue"
they're allowed into the system using a non-password protected "DemoUser"
account which has *very* limited access. This gives the person an
opportunity to check out the application without going through the whole
setup procedure.
4. If the user checks the "I accept the EULA" and "Continue," the
application presents the user with a series of forms to set-ulp the system.
The first form is a "CreateUsers" form so that the user can create one (and
only one... I check for this) account that's a member of the applications
"MyAppManagers" group, and as many "MyAppRegularUsers" accounts as desired.
5. Once the account(s) have been setup, the user is presented with the
log-on form so they call log-on and proceed with setup.
Any comments, suggestions, pointers to other web 1resources on how to
implement this scenario would be greatly appreciated.
Regards, Chris