IGPMPermission Property Methods
The property methods of the IGPMPermission 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
-
Denied
-
-
Access type: Read-only
-
Scripting data type: Boolean
-
// C++ method syntax HRESULT get_Denied( [out] VARIANT_BOOL* pVal );
Value that indicates whether the permission is denied. If VARIANT_TRUE, the permission is denied.
-
-
Inheritable
-
-
Access type: Read-only
-
Scripting data type: Boolean
-
// C++ method syntax HRESULT get_Inheritable( [out] VARIANT_BOOL* pVal );
Value that indicates whether the permission can be inherited by child containers. If VARIANT_TRUE, the permission can be inherited.
When setting security for GPOs, the value of this property is always VARIANT_TRUE; For WMI filters, it is always VARIANT_FALSE. For permSOMWMICreate, permSOMWMIFullControl, and permSOMGPOCreate, the value is always VARIANT_FALSE.
-
-
Inherited
-
-
Access type: Read-only
-
Scripting data type: Boolean
-
// C++ method syntax HRESULT get_Inherited( [out] VARIANT_BOOL* pVal );
Value that indicates whether the permission is inherited from a parent container. If VARIANT_TRUE, the permission is inherited.
-
-
Permission
-
-
Access type: Read-only
-
Scripting data type: String
-
// C++ method syntax HRESULT get_Permission( [out] GPMPermissionType* pVal );
The policy-related permission level; for example, permGPOApply, permWMIFilterEdit, and permSOMLink. For a complete list of the supported permission levels, see the IGPM::CreatePermission method.
-
-
Trustee
-
-
Access type: Read-only
-
Scripting data type: GPMTrustee
-
// C++ method syntax HRESULT get_Trustee( [out] IGPMTrustee* pGPMTrustee );
Returns the IGPMTrustee interface and the trustee part of the permission.
-
Remarks
For more information about policy-related permissions, see IGPM::CreatePermission.
Requirements
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 |
Header |
|
IDL |
|
DLL |
|
IID |
IID_IGPMPermission is defined as 35EBCA40-E1A1-4A02-8905-D79416FB464A |