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
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 |
Header |
|
Type library |
|
DLL |
|
CLSID |
CLSID_SWbemLocator |
IID |
IID_ISWbemLocator |