zoukankan      html  css  js  c++  java
  • 如何设置Access访问msysobjects系统表权限

    也是网上找到的方法,不过只有英文,偶翻译了一下,呵呵
    默认情况下,在程序中是无法直接访问Access的系统表的,会提示没有权限,只有手工设置了读权限后才可以。
    读取Access库中所有表名的SQL语句:select name from msysobjects where flags = 0

    1.
    打开Access

    2. 点击“工具”菜单,选择“选项”

    3. 在“视图”页上,将“系统对象”勾上

    4. 点击“确定”按钮保存设置

    5. 点击“工具”菜单,选择“安全”中的“用户与组权限”

    6. 选择“权限”页

    7. 在“对象类型”下拉列表中选择“表”

    8. 在“用户名/组名”中选择“管理员”用户

    9. 在“对象名称”中选择“MSysObjects”表

    10. 在“权限”中将“读取数据”勾上

    11. 点击“确定”按钮保存设置

     

    1. Open Microsoft access
    2. From the Tools menu, select the Options menu option
    3. On the View tab, click the System Objects checkbox
    4. Click OK to save your changes
    5. From the Tools menu, select the Security -> User and Group Permissions menu option
    6. Click the Permissions tab
    7. Select the Table entry in the Object Type combo box
    8. Select the Admin userid in the User/Group Name listbox
    9. In the Object Name listbox, select the MSysObjects entry
    10. In the Permissions group box, check the Read Data check box

  • 相关阅读:
    WordPress网站绑定多个域名的方法
    htpasswd 命令使用
    在Windows下用OpenSSL生成证书步骤
    WCF中关于List和数据的转换问题
    NET2.0的配置文件
    C# Attribute
    c#自定义属性
    VS2005中读写配置文件(方法二)
    c#的反射
    Asp.NET 操作配置文件 Steven Pei 博客园
  • 原文地址:https://www.cnblogs.com/Jasmin/p/588644.html
Copyright © 2011-2022 走看看