[This is a preview of an interface that may appear in future releases of Windows.]
The TRUSTEE_ACCESS structure is used with the TrusteeAccessToObject function to determine whether a trustee has specified access rights to an object or its properties.
typedef struct _TRUSTEE_ACCESS {
LPTSTR lpProperty;
ACCESS_RIGHTS Access;
ULONG fAccessFlags;
ULONG fReturnedAccess;
} TRUSTEE_ACCESS, *PTRUSTEE_ACCESS;
If fAccessFlags is TRUSTEE_ACCESS_READ_WRITE, set the Access member to zero.
For mappings of the Windows NT-specific access flags for the various object
types to the corresponding provider-independent access flags, see Provider
Independent Access Rights.
|
Value |
Meaning |
|
TRUSTEE_ACCESS_EXPLICIT |
The Access member specifies the access rights to check. |
|
TRUSTEE_ACCESS_READ_WRITE |
Check for READ, WRITE, or READ_WRITE access to the object. Set the Access member to zero. |
If the fAccessFlags member specified TRUSTEE_ACCESS_EXPLICIT, a value of TRUSTEE_ACCESS_ALLOWED indicates that the trustee has the access rights specified by the Access member.
If fAccessFlags specified TRUSTEE_ACCESS_READ_WRITE, this member can return one of the following values to indicate the allowed access rights.
|
Value |
Meaning |
|
TRUSTEE_ACCESS_READ |
The trustee has only read access to the object or property. |
|
TRUSTEE_ACCESS_READ_WRITE |
The trustee has both read and write access. |
|
TRUSTEE_ACCESS_WRITE |
The trustee has only write access. |