IWbemEventProviderSecurity interface (wbemprov.h)

The IWbemEventProviderSecurity interface is optionally implemented by event providers who want to restrict consumer access to their event. For more information about when to use this interface, see Securing WMI Events.

Inheritance

The IWbemEventProviderSecurity interface inherits from the IUnknown interface. IWbemEventProviderSecurity also has these types of members:

Methods

The IWbemEventProviderSecurity interface has these methods.

 
IWbemEventProviderSecurity::AccessCheck

The AccessCheck method is implemented by an event provider and called by Windows Management Instrumentation (WMI) when a consumer subscribes to an event specified in wszQuery.

Remarks

This method is automatically called by Windows Management whenever a new consumer attempts to subscribe to an event where the event provider has implemented IWbemEventProviderSecurity. If the consumer has access permission for the event the consumer is subscribed to the event; otherwise, the subscription is denied.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header wbemprov.h (include Wbemidl.h)