ACC97: How to Create Your Own Custom Security Reports (179703)
The information in this article applies to:
This article was previously published under Q179703 SUMMARY
Advanced: Requires expert coding, interoperability, and multiuser skills.
The Database Documenter does not enable you to view a report on a per user
basis or to have a report that is grouped by users and groups display the
permissions for the objects in your database. However, you can create your
own custom reports that display security information. You can do this by
using Data Access Objects (DAO) to read and store the permission
information.
This article shows you how to store user permissions to objects by using
Visual Basic for Applications.
Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. REFERENCES
For more information about using DAO to create group and user accounts,
about how to assign users to group accounts, and about how to assign or
view permissions, please see the following articles in the Microsoft
Knowledge Base:
124240
ACC2: Only Admins Group Members Can List Groups They
Belong To
112063
ACC: How to Add a User to a Group with CreateUser Method
112106
ACC: How to Use DAO to Assign or View Permissions
For more information about how to use see if a table or query already
exists, please see the following article in the Microsoft Knowledge
Base:
113549
ACC: How to Determine If a Table or Query Exists
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbhowto kbinfo kbProgramming KB179703 |
---|
|