Determining the Maximum Allowed Access for an ObjectLast reviewed: September 25, 1995Article ID: Q115945 |
The information in this article applies to:
SUMMARYThe AccessCheck() API call can be used to determine the maximum access to an object allowed for a subject. (In this article, a subject means a program running in a specific user's security context.) When using AccessCheck() for this purpose, perform the following steps:
MORE INFORMATIONIn most situations, you should not use this method of access determination. If you need access to an object to perform a task, simply try to open the object using the required access. The AccessCheck() API is mainly intended for use with private objects created by an application. However, it can be used with predefined objects. The generic mapping values and specific rights for many of the predefined objects (files and so forth) may be found in WINNT.H.
REFERENCESPlease see the Security Overview in the "Win32 Programmer's Reference" and the "Win32 SDK API Reference" for more information.
|
Additional reference words: 3.10 3.50
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |