Re: Change Password command
- From: "Rob Oldfield" <blah@xxxxxxxx>
- Date: Wed, 11 Jan 2006 00:41:47 -0000
It's not something I've ever played with, so this is my first look, but you
can change passwords directly from VBA by doing something like...
Dim ws As Workspace
Dim usr As User
Set ws = DBEngine.Workspaces(0)
Set usr = ws.Users(CurrentUser)
usr.Password = "...."
So I'd suggest building your own form with that type of stuff behind the OK
button.
"Rob" <robert.parker@xxxxxxxxxxxxxxxxxxx> wrote in message
news:1136857038.426333.21560@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> I'm using Access security, and have a button which opens the User and
> Group Accounts dialog, via the following code:
>
> DoCmd.RunCommand acCmdUserAndGroupAccounts
>
> I also have a function which returns True if the current user is a
> member of the admins group. What I would like to do is, if the user is
> not in the admins group, to open the User and Group Accounts dialog
> with the Change Password tab selected (since the Users tab doesn't have
> many usable options, and what I really want is to allow users to change
> their password as easily as possible.
>
> (How) can I force the Change Password tab to be selected when the User
> and Group Accounts dialog is opened?
>
> TIA,
>
> Rob
>
.
- Follow-Ups:
- Re: Change Password command
- From: Rob
- Re: Change Password command
- References:
- Change Password command
- From: Rob
- Change Password command
- Prev by Date: Re: Filll listbox with the Caption of all the reports in a database
- Next by Date: Re: Change Password command
- Previous by thread: Change Password command
- Next by thread: Re: Change Password command
- Index(es):
Relevant Pages
|