IGPMTrustee Property Methods
The property methods of the IGPMTrustee interface get the properties described in the following table. For a general discussion of property methods, see Interface Property Methods in the ADSI documentation .
Properties
-
TrusteeDomain
-
-
Access type: Read-only
-
Scripting data type: String
-
// C++ method syntax HRESULT get_TrusteeDomain( [out] BSTR* bstrVal );
The trustee domain in NetBIOS format, resolved from the SID.
-
-
TrusteeDSPath
-
-
Access type: Read-only
-
Scripting data type: String
-
// C++ method syntax HRESULT get_TrusteeDSPath( [out] BSTR* pVal );
Fully qualified distinguished name of the security principal in the directory service. For example, "cn=administrators,cn=builtin,dc=domainname,dc=coname,dc=com". This is the path to the directory service (DS) object that corresponds to the security principal.
-
-
TrusteeName
-
-
Access type: Read-only
-
Scripting data type: String
-
// C++ method syntax HRESULT get_TrusteeName( [out] BSTR* bstrVal );
Relative distinguished name (RDN) of the trustee, resolved from the SID.
-
-
TrusteeSid
-
-
Access type: Read-only
-
Scripting data type: String
-
// C++ method syntax HRESULT get_TrusteeSid( [out] BSTR* bstrVal );
The SID of the trustee.
-
-
TrusteeType
-
- SidTypeUser
- SidTypeGroup
- SidTypeDomain
- SidTypeAlias
- SidTypeWellKnownGroup
- SidTypeDeletedAccount
- SidTypeInvalid
- SidTypeUnknown
- SidTypeComputer
-
Access type: Read-only
-
Scripting data type: String
-
// C++ method syntax HRESULT get_TrusteeType( [out] LONG* lVal );
The type of the trustee. Values include the following:
The values are declared in Winnt.h.
For more information, see SID_NAME_USE in the Security documentation .
Remarks
For more information about security groups, see How Security Groups are Used in Access Control in the Active Directory Programmer's Guide.
Requirements
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 |
Header |
|
IDL |
|
DLL |
|
IID |
IID_IGPMTrustee is defined as 3B466DA8-C1A4-4B2A-999A-BEFCDD56CEFB |