Bewerken

Delen via


SWbemObject.Security_ property

The Security_ property of the SWbemObject object is used to read, or set the security settings for an SWbemObject object. This property is an SWbemSecurity object. The security settings in this object do not indicate the authentication, impersonation, or privilege settings made on a connection to Windows Management Instrumentation (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.

Note

Setting the Security_ property of an SWbemObject object to NULL grants unlimited access to everyone all the time. For more information, see SWbemSecurity.

For an explanation of this syntax, see Document Conventions for the Scripting API.

This property is read-only.

Syntax

SWbemObject.Security_ As Object

Property value

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
Wbemdisp.h
Type library
Wbemdisp.tlb
DLL
Wbemdisp.dll
CLSID
CLSID_SWbemObject
IID
IID_ISWbemObject

See also

SWbemObject

Creating a WMI Application or Script

Setting Client_Application_Process Security

SWbemSecurity

WbemAuthenticationLevelEnum

WbemImpersonationLevelEnum

WbemPrivilegeEnum

Privilege Constants