Jet用户级安全性

问题描述:

我按照一些说明创建了Jet用户级安全性。我创建了一个名为?student1的用户名?而我不明白为什么现在每次打开数据库访问文件时,它都会显示一个登录窗口,询问我的名称和密码。我从来没打算为我创建一个帐户。我试图删除它,它不允许我。我的目的是继续成为管理员为一组用户创建用户帐户并使用某些权限限制他们。是否存在可以在不登录的情况下操纵用户帐户的文件?或者如何再次成为管理员并能够创建和删除用户或组帐户。我有MS Access 2007.如果有人可以给出一个提示,我将不胜感激。


plaguna

I was creating a Jet User-Level-Security following some instructions. I created an user name called ?student1? and what I don?t understand is why now every time I open a DB Access file it shows a Logon window asking me a Name and Password. I was never intended to create an account for me. I tried to delete it and it doesn?t allow me. My intention is to continue being the admin to create user accounts for a group of user and limit them with some permission. Is there a file that I can manipulate user accounts without login? or how can I be an admin again and be able to create and delete user or group accounts. I have MS Access 2007. If anyone can give a hint on this, It will be greatly appreciated.

plaguna

嗨Plaguna!


看来您的数据库现在加入了新的.mdw文件,该文件包含用户,组,权限等。


你需要找到该文件(.mdw)并使用登录打开它。

在里面你可以添加/更改用户帐户


找到.mdw文件您可以在数据库中的任何模块中将其放入immediat窗口(CTRL + G)并按Enter键:

[HTML] DoCmd.RunCommand acCmdWorkgroupAdministrator [/ HTML]

现在向导将打开,显示您当前加入数据库的工作组文件。

要创建新的.mdw文件,请单击创建(确保创建一个具有管理员权限的用户名)

要加入现有的.mdw文件,请单击加入并找到该文件

要清除所有已连接的.mdw文件,请单击加入,然后删除当前路径(acc然后,ess将自动将您的数据库加入到它的默认.mdw文件中
hi Plaguna!

It seems your database is now joined with new .mdw file that holds user, groups, permissions etc.

You need to find that file (.mdw) and open it using Log-on.
Inside you can add/change user accounts

To locate .mdw file you can put this in you immediat window (CTRL+G) in any module you have in your database and press Enter:
[HTML]DoCmd.RunCommand acCmdWorkgroupAdministrator[/HTML]
Now wizard will open showing you workgroup file currently joined to your database.
To create new .mdw file click Create (make sure to creat one user name with admin permissions)
To join to existing .mdw file click Join and locate the file
To clear all joined .mdw files click Join and then delete the current path (access will then automaticaly join your database to it''s default .mdw file)


因为您已经为.Mdw文件添加了新用户,所以它现在不仅仅是简单了没有密码的默认管理员,需要询问您需要的是什么。


考虑在管理员帐户中添加密码,并在需要管理员访问时使用该密码。


PS。在进一步研究之前,我会先阅读这个主题。它并不像大多数人希望的那样简单明了。它可能会给粗心大意造成很多问题。
As you''ve added a new user to your .Mdw file, it now has more than the simple default of Admin with no password and needs to ask you which you need.

Consider adding a password to the Admin account and using that when you want Admin access.

PS. I would read up on the subject before going further into it. It is not as straightforward as most people would like it to be. It can cause lots of problems for the unwary.



这并不像大多数人想的那么简单......
It is not as straightforward as most people would like...



确实!它实际上类似于一个开瓶器!这就是为什么Micro

Indeed! It actually resembles a corkscrew! Which is why Micro