MS Access user permissions using SQL

我们两清 提交于 2020-01-06 02:35:07

问题


Is it possible to add permissions on multiple objects using SQL in Access like below?

GRANT SELECT, DELETE, INSERT, UPDATE, DROP, SELECTSECURITY, UPDATESECURITY, UPDATEIDENTITY, CREATE
ON PERSON, INVOICE, CUSTOMER, EMPLOYEE
TO Developers

回答1:


The DDL GRANT and REVOKE statements seem to be available in specific versions of MS Access.

Access 2007, as documented here: http://msdn.microsoft.com/en-us/library/office/bb177904(v=office.12).aspx

Access 2013, as documented here: http://msdn.microsoft.com/en-us/library/office/ff193820(v=office.15).aspx

The feature was not always there though. The MS-Jet 4.0 Engine (used by Access 2000) had them... but I can't find documentation on which version of Access/MS-Jet it first appeared in.



来源:https://stackoverflow.com/questions/24226606/ms-access-user-permissions-using-sql

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!