Re: design problem computer-user-database

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



On 17 Feb 2006 16:18:47 -0800, "rpfd" <recipient@xxxxxxxxxxxxxxx>
wrote:

I guess the multiple computers add another dimension to the
whole thing...!

That's the clue that unravels the knot, actually!

You have a perfectly normal many (users) to many (computers)
relationship. The clue is that the password is an attribute, not of
the user, nor the computer, but of the *relationship* between the two
- and individual user on a particular computer.

You need three tables: * marks the Primary Key.

Users
*UserID
LastName
FirstName
<other info about the person>

Computers
*ComputerID
<information about the computer box>

Accounts
*UserID
*ComputerID
UserName <what is this user's account name on this box>
Password <for this account>

One user will have multiple records in the Accounts table; so will
each computer - but they'll each have a record for the username or
password (either of which could be duplicated with another record).

John W. Vinson[MVP]
.



Relevant Pages

  • Re: Help! My new password isnt being recognized!
    ... >>account and my personal one. ... >>clue. ... >>get onto my personal account, but NOT the Admin account where I have some ...
    (microsoft.public.office.misc)
  • Re: Event Source: W3SVC Event ID 100
    ... I don't see a service that is related to Dell.....anyone else have a clue ... Dave Patrick ....Please no email replies - reply in newsgroup. ... The server was unable to logon the Windows NT account 'IUSR_D8YTGF21' due ... the following error: Logon failure: account currently disabled. ...
    (microsoft.public.windows.server.general)
  • Re: Changing Password Without knowing the old
    ... username and password used to log onto the Win 98 computer. ... After hitting the ... > one and I have no clue what it was. ... DDS W 2k MVP MCSE ...
    (microsoft.public.win2000.security)
  • Re: Help! My new password isnt being recognized!
    ... >account and my personal one. ... >clue. ... >get onto my personal account, but NOT the Admin account where I have some ...
    (microsoft.public.office.misc)
  • Re: Failure Audit
    ... > events are recorded that may provide a clue. ... >> The mooret account has been disabled, but I have no idea what is running ... >> running on that workstation that use that account. ...
    (microsoft.public.win2000.security)