Export (0) Print
Expand All
Expand Minimize

UnlockWithAdSid method of the Win32_EncryptableVolume class

The UnlockWithAdSid method of the Win32_EncryptableVolume class uses the provided Active Directory security identifier (SID) string to obtain the derived key and unlock the encrypted volume.

Note  If the disc supports hardware encryption this function sets the band status to "unlocked""

Syntax


uint32 UnlockWithAdSid(
  [in]   string SidString
);

Parameters

SidString [in]

String that contains the Active Directory SID.

Return value

This method returns one of the following codes or another error code if it fails.

Return code/valueDescription
S_OK
0 (0x0)

The method was successful.

 

Remarks

Managed Object Format (MOF) files contain the definitions for Windows Management Instrumentation (WMI) classes. MOF files are not installed as part of the Windows SDK. They are installed on the server when you add the associated role by using the Server Manager. For more information about MOF files, see Managed Object Format (MOF).

Requirements

Minimum supported client

Windows 8 Enterprise, Windows 8 Pro [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Namespace

\\.\root\CIMV2\Security\MicrosoftVolumeEncryption

MOF

Win32_encryptablevolume.mof

See also

Win32_EncryptableVolume

 

 

Community Additions

ADD
Show:
© 2014 Microsoft