please dont rip this site Prev Next

TRUSTEE_ACCESS info  Overview  Group

[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;

 

Members

lpProperty
Pointer to a null-terminated string that specifies the GUID of a property on an object. You can use the UuidToString function to generate a string representation of a property GUID. If this member is NULL, TrusteeAccessToObject checks the trustee’s access to the object. If this member is non-NULL, the function checks the trustee’s access to the specified property on the object.
Access
A bit mask that specifies the access rights to check. This member must use the provider-independent access flags, such as ACTRL_READ_CONTROL, rather than the Windows NT-specific access flags, such as READ_CONTROL. The provider for the object type converts these provider-independent flags to the corresponding provider-specific flags.

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.

fAccessFlags
Indicates whether the Access member specifies the access rights to check. This member can be one of the following values.

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.

fReturnedAccess
When the TrusteeAccessToObject function returns, this member indicates the results of the access check. If fReturnedAccess returns zero, the trustee does not have the specified access to the object or property.

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.

See Also

TrusteeAccessToObject, UuidToString


file: /Techref/os/win/api/win32/struc/src/str22_3.htm, 4KB, , updated: 2000/4/7 12:20, local time: 2024/4/23 03:32,
TOP NEW HELP FIND: 
18.224.4.65:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://www.piclist.com/techref/os/win/api/win32/struc/src/str22_3.htm"> TRUSTEE_ACCESS</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

  PICList 2024 contributors:
o List host: MIT, Site host massmind.org, Top posters @none found
- Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
 

Welcome to www.piclist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .