The SWbemSecurity object gets or sets security settings, such as privileges, COM impersonations, and authentication levels assigned to an object. The SWbemLocator, SWbemServices, SWbemObject, SWbemObjectSet, SWbemObjectPath, SWbemLastError, and SWbemEventSource objects have a Security_ property, which is the SWbemSecurity object. When you retrieve an instance or view the WMI security log, you might need to set the properties of the Security_ object.
The VBScript CreateObject call cannot create the Security object. The security settings in this object do not identify the authentication, impersonation, or privilege settings on a connection to WMI, or the security in effect for the proxy when an object is delivered to a sink in an asynchronous call. For more information, see Maintaining WMI Security.
The SWbemSecurity object has these types of members:
The SWbemSecurity object has these properties.
||Numeric value that defines the COM Authentication level that is assigned to this object. This setting determines how you protect information sent from WMI.
||Numeric value that defines the COM Impersonation level that is assigned to this object. This setting determines if processes owned by WMI can detect or use your security credentials when making calls to other processes.
||An SWbemPrivilegeSet object that defines privileges for this object. For more information, see Running with Special Privileges.
|Minimum supported client
|Minimum supported server
||Windows Server 2008