|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| No
| Win32s
| No
| Import Library
|
| Header File
| accctrl.h
| Unicode
| WinNT
| Platform Notes
| None
|
|
|
TRUSTEE
[New - Windows NT]
The TRUSTEE structure identifies a user account, group account, or a logon account for a
program such as a Windows NT service. The structure can use a name or a
security identifier (SID) to identify the trustee.
Access control functions, such as SetEntriesInAcl and GetExplicitEntriesFromAcl, use this structure to identify the logon account associated with the
access-control or audit-control information in an EXPLICIT_ACCESS structure.
typedef struct _TRUSTEE
{
PTRUSTEE pMultipleTrustee;
MULTIPLE_TRUSTEE_OPERATION MultipleTrusteeOperation;
TRUSTEE_FORM TrusteeForm;
TRUSTEE_TYPE TrusteeType;
LPTSTR ptstrName;
} TRUSTEE;
Members
pMultipleTrustee
Pointer to a TRUSTEE structure that identifies a server account that can impersonate the user
identified by the ptstrName member. Windows NT does not currently support this functionality; therefore,
this member must be NULL.
MultipleTrusteeOperation
Specifies a value from the MULTIPLE_TRUSTEE_OPERATION enumeration type. Currently, this member must be NO_MULTIPLE_TRUSTEE.
TrusteeForm
Specifies a value from the TRUSTEE_FORM enumeration type that indicates whether the trustee is identified by name or
by a SID.
TrusteeType
Specifies a value from the TRUSTEE_TYPE enumeration type that indicates whether the trustee is a user account, a
group account, or the account type is unknown.
ptstrName
If TrusteeForm is TRUSTEE_IS_NAME, this member is a pointer to a null-terminated string that
contains the name of the trustee.
If TrusteeForm is TRUSTEE_IS_SID, this member is a pointer to the SID of the trustee.
Remarks
A trustee name can have any of the following formats:
- A fully qualified name, such as "g:\remotedir\abc".
- A Windows NT version 3.x or later domain account, such as "redmond\xyz".
- One of the predefined group names, such as "EVERYONE" or "GUEST".
- One of the following special names.
Name
| Meaning
| "CURRENT_USER"
| Indicates the owner of the calling thread or process.
| "CREATOR OWNER"
| Indicates the CREATOR_OWNER security identifier. This is a SID used in
inheritable ACEs. When a new object is created, the system replaces this SID with the
SID of the user who created the object.
| "CREATOR GROUP"
| Indicates the CREATOR_GROUP security identifier. This is a SID used in
inheritable ACEs. When a new object is created, the system replaces this SID with the
primary group SID of the user who created the object.
|
A trustee SID can be any user or group SID. It can also be any of the
universal, well-known SIDs. For more information, see Security Identifiers (SIDs).
See Also
ACL, EXPLICIT_ACCESS, GetExplicitEntriesFromAcl, MULTIPLE_TRUSTEE_OPERATION, SetEntriesInAcl, SID, TRUSTEE_FORM, TRUSTEE_TYPE
| Last news from Greatis Software |
 |
|
Nostalgia .Net |
|
.Net is powerful, but not all-powerful, so sometimes we need to use Win32 API for our .Net applications. It's simple enough with Platform Invoke if you have Win32 skill, but we do not always have time to dig the ancient documentation, declare the special types that are compatible with Win32, find the values of the Win32's constants and so on. Nostalgia .Net offers several simple-to-use classes, and components that will allow you to forget about the headache of Win32 and just use the power of Win32 in your application the same way as you use the native. Net classes. More » |
| Recommended software for developers |
 |
|
Ultimate Pack |
|
Component pack for Delphi and C++ Builder that contains runtime form designer, runtime object inspector, print suite and much more for the very special price. More » |
 |
|
Form Designer .Net |
|
Unique runtime form design solution that allows to edit any form in .Net WinForms application at runtime with full source codes for only 300 euro! More » |
 |
|
Print Suite .Net |
|
Print Suite .Net is a set of components for easy printing texts, images and grids from your WinForms applications. Full C# source codes are available More » |
 |
|
Gradient Controls .Net |
|
Gradient Controls .Net offers controls with gradient background feature. Labels, panels and so on... Full C# source codes are available More » |
 |
|
Greatis iGrid |
|
iGrid plots drawing grid right over your desktop, so you can use it everywhere, with any drawing application without any special plugins for different graphic editors. More » |
All the contacts and projectsDmitry Vasiliev (just.dmitry)
Related LinksSoftware for Visual Studio .NET developers Software for Delphi and C++ Builder developers Software for Visual Basic 6 developers Delphi Tips&Tricks MegaDetailed.NET More Online Helps Win32 Programmer's Reference Win32 Multimedia Programmer's Reference OLE Programmer's Reference Microsoft Windows Pen API Programmer's Reference Microsoft Windows Sockets 2 Reference Microsoft Windows Telephony API (TAPI) Programmer's Reference Unix Manual Pages
|