Export (0) Print
Expand All

SWbemLocator.Security_ property

The Security_ property of the SWbemLocator object is used to read or set the security settings for an SWbemLocator object. This property is an SWbemSecurity object.

Note  Setting the Security_ property of an SWbemLocator object to NULL grants unlimited access to everyone at all times. For more information, see SWbemSecurity.

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

This property is read-only.

Syntax

SWbemLocator.Security_ As Object

Property value

Remarks

The properties of an SWbemLocator.Security_ object have no default values. If you attempt to get the value of SWbemSecurity.AuthenticationLevel or SWbemSecurity.ImpersonationLevel on an SWbemLocator object before you have set it, an wbemErrFailed error results.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Type library

Wbemdisp.tlb

DLL

Wbemdisp.dll

See also

SWbemLocator
Creating a WMI Application or Script
Executing Privileged Operations Using VBScript
Setting Client_Application_Process Security

 

 

Show:
© 2014 Microsoft