Редагувати

Поділитися через


SWbemPrivilege object

The SWbemPrivilege object represents a single privilege. This object cannot be created by the VBScript CreateObject call.

Members

The SWbemPrivilege object has these types of members:

Properties

The SWbemPrivilege object has these properties.

Property Access type Description
Displayname
Read-only
Display name of this privilege.
Identifier
Read/write
Integer that represents the privilege that is being set or retrieved.
IsEnabled
Read/write
Boolean value that indicates if this privilege is enabled.
Name
Read-only
Name of this privilege.

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_SWbemPrivilege
IID
IID_ISWbemPrivilege

See also

Executing Privileged Operations

Scripting API Objects