次の方法で共有


Win32_SecurityDescriptorHelper class

The methods of the Win32_SecurityDescriptorHelper WMI class convert a security descriptor between the Win32_SecurityDescriptor, Security Descriptor Definition Language (SDDL), and binary byte array formats. Because many WMI methods for manipulating security descriptors require a binary format, use this method to convert the more easily manipulated Win32_SecurityDescriptor form to and from binary. For more information, see WMI Security Descriptor Objects.

Syntax

[Dynamic, Provider("SECRCW32"), UUID("{A502B5A5-B91A-41d1-83D6-BBFA55076333}"), AMENDMENT]
class Win32_SecurityDescriptorHelper
{
};

Members

The Win32_SecurityDescriptorHelper class has these types of members:

Methods

The Win32_SecurityDescriptorHelper class has these methods.

Method Description
BinarySDToSDDL Converts a binary byte array security descriptor format to a Security Descriptor Definition Language (SDDL) string security descriptor format.
BinarySDToWin32SD Converts a binary byte array security descriptor format to a Win32_SecurityDescriptor instance.
SDDLToBinarySD Converts a Security Descriptor Definition Language (SDDL) string security descriptor format to a binary byte array security descriptor format.
SDDLToWin32SD Converts a Security Descriptor Definition Language (SDDL) string security descriptor format to a Win32_SecurityDescriptor instance.
Win32SDToBinarySD Converts a Win32_SecurityDescriptor instance to a binary byte array security descriptor format.
Win32SDToSDDL Converts a Win32_SecurityDescriptor instance to Security Descriptor Definition Language (SDDL) string format.

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Namespace
Root\CIMV2
MOF
Secrcw32.mof
DLL
CIMWin32.dll

See also

Security Descriptor Helper Class

WMI Security Descriptor Objects

Changing Access Security on Securable Objects

Access to WMI Namespaces