Connecting Tech Pros Worldwide Help | Site Map

security on forms

 
LinkBack Thread Tools Search this Thread
  #1  
Old November 12th, 2005, 03:01 PM
Lapchien
Guest
 
Posts: n/a
Default security on forms

Is it possible to restrict usage of a command button on a form to only
certain users (i'm on a windows 2000 domain) or users with membership of a
domain/group..?

Lap



  #2  
Old November 12th, 2005, 03:02 PM
Pieter Linden
Guest
 
Posts: n/a
Default Re: security on forms

"Lapchien" <cc8345@nospamplease.eclipse.co.uk> wrote in message news:<1067870167.322779@ananke.eclipse.net.uk>...[color=blue]
> Is it possible to restrict usage of a command button on a form to only
> certain users (i'm on a windows 2000 domain) or users with membership of a
> domain/group..?
>
> Lap[/color]

Don't think so... well, without some ugly code. I guess you could
keep a list of folks that are allowed to use it in a table and then
check for their names in the table, but you could just as easily
distribute another FE/MDE without the button.
  #3  
Old November 12th, 2005, 03:03 PM
Albert D. Kallal
Guest
 
Posts: n/a
Default Re: security on forms

It is a little tough to get at the membership info on the server side. You
can certainly use ms-access built-in security, and then you *CAN* get at the
ms-access groups each user belongs to. You can also grab, and get the
current network logged on name:

You can get the current network logon name with:
http://www.mvps.org/access/api/api0008.htm

And, the current computer name with:
http://www.mvps.org/access/api/api0009.htm

And, if using ms-access security, then currentuser() will return the
ms-access logon.

I often log all 3 of the above values in some applications.

--
Albert D. Kallal
Edmonton, Alberta Canada
NoooSPAmkallal@msn.com
http://www.attcanada.net/~kallal.msn


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,840 network members.