PC Review


Reply
Thread Tools Rate Thread

Allow users to change their own password

 
 
=?Utf-8?B?Tmlra2lC?=
Guest
Posts: n/a
 
      8th Jul 2005
Hi,

I am quite new to working with a sercured database and have a question. I
would like to allow my users to change their own passwords but since the
Tools drop down option is not available to them due to my startup settings
they cannot access the toolobar screen necessary to make this change.

I was thinking of creating a Macro that used the SetMenuItem action to make
only this toolbar selection available to the users. I would then trigger this
Macro by linking it to the OnOpen Event on my Switchboard form. But I can't
figure out the toolbars naming convention when attempting to set up the
Macro. The Help key did not seem to help me.(I'm feeling really dumb right
now so please be patient.)

Does anyone know what integer value I need to enter in the below fields to
produce my desired results below? Or am I trying to use the SetMenuItem macro
action incorrectly?

Menu Index: I would like to reference the Tools drop down.
Command Index: I would like to reference the Security Menu.
Subcommand Index: I would like to ungrey the User and Group Accounts option.

If this is not the most effective way to accomplish this task feel free to
suggest an alternative solution.

Thanks so much for your help,

Nicole


 
Reply With Quote
 
 
 
 
Jack MacDonald
Guest
Posts: n/a
 
      9th Jul 2005
The DAO.User object has a NewPassword method that I presume will allow
you to set the password via

Sub test()
Dim wrk As DAO.Workspace
Dim usr As DAO.user

Set wrk = DBEngine.Workspaces(0)
Set usr = wrk.Users("jack macdonald")
usr.newpassword ("old","new")

End Sub


On Fri, 8 Jul 2005 13:24:03 -0700, NikkiB
<(E-Mail Removed)> wrote:

>Hi,
>
>I am quite new to working with a sercured database and have a question. I
>would like to allow my users to change their own passwords but since the
>Tools drop down option is not available to them due to my startup settings
>they cannot access the toolobar screen necessary to make this change.
>
>I was thinking of creating a Macro that used the SetMenuItem action to make
>only this toolbar selection available to the users. I would then trigger this
>Macro by linking it to the OnOpen Event on my Switchboard form. But I can't
>figure out the toolbars naming convention when attempting to set up the
>Macro. The Help key did not seem to help me.(I'm feeling really dumb right
>now so please be patient.)
>
>Does anyone know what integer value I need to enter in the below fields to
>produce my desired results below? Or am I trying to use the SetMenuItem macro
>action incorrectly?
>
>Menu Index: I would like to reference the Tools drop down.
>Command Index: I would like to reference the Security Menu.
>Subcommand Index: I would like to ungrey the User and Group Accounts option.
>
>If this is not the most effective way to accomplish this task feel free to
>suggest an alternative solution.
>
>Thanks so much for your help,
>
>Nicole
>



**********************
(E-Mail Removed)
remove uppercase letters for true email
http://www.geocities.com/jacksonmacd/ for info on MS Access security
 
Reply With Quote
 
TC
Guest
Posts: n/a
 
      9th Jul 2005
Ouch! Don't use macros except for the very few things, where there is
no other easy way (eg. AutoKeys). Instead, use VBA, as Jack suggested.

 
Reply With Quote
 
Jack MacDonald
Guest
Posts: n/a
 
      9th Jul 2005
Apparently a ready-made solution at:
http://www.mile50.com/access/




On Fri, 8 Jul 2005 13:24:03 -0700, NikkiB
<(E-Mail Removed)> wrote:

>Hi,
>
>I am quite new to working with a sercured database and have a question. I
>would like to allow my users to change their own passwords but since the
>Tools drop down option is not available to them due to my startup settings
>they cannot access the toolobar screen necessary to make this change.
>
>I was thinking of creating a Macro that used the SetMenuItem action to make
>only this toolbar selection available to the users. I would then trigger this
>Macro by linking it to the OnOpen Event on my Switchboard form. But I can't
>figure out the toolbars naming convention when attempting to set up the
>Macro. The Help key did not seem to help me.(I'm feeling really dumb right
>now so please be patient.)
>
>Does anyone know what integer value I need to enter in the below fields to
>produce my desired results below? Or am I trying to use the SetMenuItem macro
>action incorrectly?
>
>Menu Index: I would like to reference the Tools drop down.
>Command Index: I would like to reference the Security Menu.
>Subcommand Index: I would like to ungrey the User and Group Accounts option.
>
>If this is not the most effective way to accomplish this task feel free to
>suggest an alternative solution.
>
>Thanks so much for your help,
>
>Nicole
>



**********************
(E-Mail Removed)
remove uppercase letters for true email
http://www.geocities.com/jacksonmacd/ for info on MS Access security
 
Reply With Quote
 
=?Utf-8?B?Tmlra2lC?=
Guest
Posts: n/a
 
      11th Jul 2005
Thank you very much! This was exactly what I needed! Have a great day!

"Jack MacDonald" wrote:

> Apparently a ready-made solution at:
> http://www.mile50.com/access/
>
>
>
>
> On Fri, 8 Jul 2005 13:24:03 -0700, NikkiB
> <(E-Mail Removed)> wrote:
>
> >Hi,
> >
> >I am quite new to working with a sercured database and have a question. I
> >would like to allow my users to change their own passwords but since the
> >Tools drop down option is not available to them due to my startup settings
> >they cannot access the toolobar screen necessary to make this change.
> >
> >I was thinking of creating a Macro that used the SetMenuItem action to make
> >only this toolbar selection available to the users. I would then trigger this
> >Macro by linking it to the OnOpen Event on my Switchboard form. But I can't
> >figure out the toolbars naming convention when attempting to set up the
> >Macro. The Help key did not seem to help me.(I'm feeling really dumb right
> >now so please be patient.)
> >
> >Does anyone know what integer value I need to enter in the below fields to
> >produce my desired results below? Or am I trying to use the SetMenuItem macro
> >action incorrectly?
> >
> >Menu Index: I would like to reference the Tools drop down.
> >Command Index: I would like to reference the Security Menu.
> >Subcommand Index: I would like to ungrey the User and Group Accounts option.
> >
> >If this is not the most effective way to accomplish this task feel free to
> >suggest an alternative solution.
> >
> >Thanks so much for your help,
> >
> >Nicole
> >

>
>
> **********************
> (E-Mail Removed)
> remove uppercase letters for true email
> http://www.geocities.com/jacksonmacd/ for info on MS Access security
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change a users password without knowing the old password nor the answer to the password question AAaron123 Microsoft ASP .NET 1 16th Jan 2009 02:56 PM
users can't change password mprhoades@yahoo.com Microsoft Windows 2000 Security 3 13th Jul 2006 02:15 AM
Users cannot change password =?Utf-8?B?TWFydGluIFdlc3RwaGFs?= Microsoft Windows 2000 Active Directory 5 17th Oct 2005 01:24 PM
rights and permissions change when users change their password Frank Windows XP Security 3 5th Dec 2003 02:29 AM
Users prompted to change password/Password expiry hassanxyz@hotmail.com Microsoft Windows 2000 Group Policy 0 27th Oct 2003 07:31 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:12 AM.