this is probably very simple but I don't know. Is there a way to
prevent two people from signing
on to an Access Application using the some login information????
I can't have two people on the application at the same time with the
same user name. I use currentuser for some locking and filtering.
Thanks for any help.
ray 4 1650
"eighthman1 1" <rd******@noote r.comwrote in message
news:b5******** *************** ***********@w28 g2000hsf.google groups.com...
this is probably very simple but I don't know. Is there a way to
prevent two people from signing
on to an Access Application using the some login information????
I can't have two people on the application at the same time with the
same user name. I use currentuser for some locking and filtering.
Thanks for any help.
ray
Two suggestions:
1. Provide a unique username/password to each user and tell them not to
share.
or
2. Create a table and store the field CurrentUser() as each person logs in.
Then delete the record when they exit the database. If the record already
exists when somebody logs in, then give them a msg and docmd.quit
Fred Zuckerman
"Fred Zuckerman" <Zu********@sbc global.netschre ef in bericht news:Es******** **********@news svr13.news.prod igy.net...
"eighthman1 1" <rd******@noote r.comwrote in message
news:b5******** *************** ***********@w28 g2000hsf.google groups.com...
>this is probably very simple but I don't know. Is there a way to prevent two people from signing on to an Access Application using the some login information????
I can't have two people on the application at the same time with the same user name. I use currentuser for some locking and filtering.
Thanks for any help.
ray
Two suggestions:
1. Provide a unique username/password to each user and tell them not to
share.
or
2. Create a table and store the field CurrentUser() as each person logs in.
Then delete the record when they exit the database. If the record already
exists when somebody logs in, then give them a msg and docmd.quit
Fred Zuckerman
Also, when using suggestion 2, provide a way to 'clear' the CurrentUser-login record !
This is really needed, because at times they will *not* log out the proper way. (e.g. crash or network failure)
You could create a macro 'DiscardCurrent UserLogInRecord ' to do the following
--Let them in (don't write a record when the record exists) or...
--Clear the record and quit (so they can log in again the usual way)
You would need another shortcut with the /x switch to run the macro.
Arno R
Arno R wrote:
"Fred Zuckerman" <Zu********@sbc global.netschre ef in bericht news:Es******** **********@news svr13.news.prod igy.net...
>>"eighthman1 1" <rd******@noote r.comwrote in message news:b5****** *************** *************@w 28g2000hsf.goog legroups.com...
>>>this is probably very simple but I don't know. Is there a way to prevent two people from signing on to an Access Application using the some login information????
I can't have two people on the application at the same time with the same user name. I use currentuser for some locking and filtering.
Thanks for any help.
ray
Two suggestions: 1. Provide a unique username/password to each user and tell them not to share. or 2. Create a table and store the field CurrentUser() as each person logs in. Then delete the record when they exit the database. If the record already exists when somebody logs in, then give them a msg and docmd.quit
Fred Zuckerman
Also, when using suggestion 2, provide a way to 'clear' the CurrentUser-login record !
This is really needed, because at times they will *not* log out the proper way. (e.g. crash or network failure)
You could create a macro 'DiscardCurrent UserLogInRecord ' to do the following
--Let them in (don't write a record when the record exists) or...
--Clear the record and quit (so they can log in again the usual way)
You would need another shortcut with the /x switch to run the macro.
Arno R
Also, maybe get the Machine name. http://www.mvps.org/access/api/api0009.htm
Using LDBView or JetRoster or whatever you can determine who is in the
system. Comparing the machine names to a table can help. If Joe left
the app by crashing and burning, he would not exist so any records of
him in a table could be removed so he could log in.
On Dec 4, 12:25 pm, Salad <o...@vinegar.c omwrote:
Arno R wrote:
"Fred Zuckerman" <Zuckerm...@sbc global.netschre ef in berichtnews:Es* *************** **@newssvr13.ne ws.prodigy.net. ..
>"eighthman11 " <rdshu...@noote r.comwrote in message news:b5******* *************** ************@w2 8g2000hsf.googl egroups.com...
>>this is probably very simple but I don't know. Is there a way to prevent two people from signing on to an Access Application using the some login information????
>>I can't have two people on the application at the same time with the same user name. I use currentuser for some locking and filtering.
>>Thanks for any help.
>>ray
>Two suggestions: 1. Provide a unique username/password to each user and tell them not to share. or 2. Create a table and store the field CurrentUser() as each person logs in. Then delete the record when they exit the database. If the record already exists when somebody logs in, then give them a msg and docmd.quit
>Fred Zuckerman
Also, when using suggestion 2, provide a way to 'clear' the CurrentUser-login record !
This is really needed, because at times they will *not* log out the proper way. (e.g. crash or network failure)
You could create a macro 'DiscardCurrent UserLogInRecord ' to do the following
--Let them in (don't write a record when the record exists) or...
--Clear the record and quit (so they can log in again the usual way)
You would need another shortcut with the /x switch to run the macro.
Arno R
Also, maybe get the Machine name.http://www.mvps.org/access/api/api0009.htm
Using LDBView or JetRoster or whatever you can determine who is in the
system. Comparing the machine names to a table can help. If Joe left
the app by crashing and burning, he would not exist so any records of
him in a table could be removed so he could log in.- Hide quoted text -
- Show quoted text -
Thanks to everyone who replied. Sorry I didn't get back with you
sooner; I was sent out of town for work.
I ended up doing Fred's idea of keeping track who is signed in by
currentuser(), it worked great. Thanks
again to everyone. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Joel Leong |
last post by:
I wish to know the industrial practices for signing
assemblies with key files.
I genereted a key file to sign my assemblies.
Should I sign all my assemblies with a single key files
or I shall generate one key file for each assembly?
Perhaps, I should generate a key file per group of
related assemblies?
|
by: Martin |
last post by:
I have a couple of questions around code signing with MS technology:
1. Is there a way to transfer the generated strong name signing private key
directly to a smartcard (or generate it on the smart card), without the
unsecure intermediate storage to the filesystem using sn -k and sn -i?
2. What is the format of the key files produced by sn -k and sn -p?
3. Is there a way to generate a PKCS#10 format certificate request from the
sn -p...
|
by: Catherine Jo Morgan |
last post by:
Can I set it up so that a certain combination of fields can't contain the
same entries, on another record? e.g. a combination of
FirstName/LastName/address? Or FirstName/LastName/phone? Or
FirstName/LastName/email?
Or is it possible to allow this but to throw up an alert message? Warning
that this person is probably already in the database? TIA
|
by: alecjames1 |
last post by:
I have a form which the user must complete before closing. I have
disabled the window x button and use my own exit button. When selected
it checks to see if the user has completed the entries otherwise it
cancels the close.
However, the user can still right click on the task bar and close my
application.
Is there any way of preventing this.
Thanks
Alex
|
by: polarz |
last post by:
I'm having problems signing my assembly. When I try to compile my code
I get an error:
The keyset is not defined.
Here is the code from my AssemblyInfo.cs
| |
by: |
last post by:
Hello,
I have the Microsoft Authenticode certificates (PKCS #7 Certificates, .spc
and .pvk files) acquired from Verisign. How do I use this certificates to
Sign the manifest for ClickOnce deployment. IDE accepts only .pfx files.
Importing in Internet Explorer and exporting back doesn't seem like an
option. Any advice?
Regards,
Sajan
|
by: Raffi Basmajian |
last post by:
I am trying to understand the difference between signing ClickOnce manifests
and signing shared assemblies. My company is building .Net 2005 WinForm
applications for internal company use only. Currently, the ClickOnce security
settings on the applications is set for "Full Trust". We are using shared
assemblies across development groups, but none of these assemblies are signed
with strong names since signing assemblies is only required when...
|
by: Nivetha |
last post by:
I have requirement like the first page contains LoginName and CompanyName after typing the value clicking Submit button so i am giving in body onload="document.forgotPassword.loginName.focus(); document.forgotPassword.securityAnswer.focus();"
bcoz after giving correct value by clicking submit button it is going to the same page with some otherfields like
Login Name
Coompany Id
Security Question
Security Answer here i need to focus
my...
|
by: raylopez99 |
last post by:
Anybody use Strong Name Signing? I think this is used by default for
Resource files, which is one reason perhaps I can't get my resource
files to work (somehow the public key is messed up, perhaps since I've
installed so many versions of Visual Studio)
RL
http://msdn.microsoft.com/en-us/library/h4fa028b.aspx
Deployment in Visual Studio
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |