IGPMWMIFilter::SetSecurityInfo method

Sets the list of permissions for the current WMI filter to that specified by the object.

Syntax

HRESULT SetSecurityInfo(
  IGPMSecurityInfo *pSecurityInfo
);

Parameters

pSecurityInfo

Pointer to an IGPMSecurityInfo interface. This parameter is required.

Return Value

JScript

Returns S_OK if successful. Returns a failure code if an error occurs.

VB

Returns S_OK if successful. Returns a failure code if an error occurs.

Remarks

You should understand these considerations before changing permissions on WMI filters.

  • Read permission is required for all users to whom a WMI filter applies. Authenticated users always have read access to all WMI filters. Typically, all users to whom the GPO with the WMI filter link applies also have read access.
  • Users with permission to edit WMI filters can affect policy processing for all users to whom the WMI filter applies.

Requirements

   
Windows version Windows Vista Windows Server 2008
Target Platform Windows
Header gpmgmt.h
DLL Gpmgmt.dll

See Also

IGPMSecurityInfo

IGPMWMIFilter

IGPMWMIFilterCollection