Compartilhar via


IBackgroundCopyJob4::GetOwnerIntegrityLevel method

Gets the integrity level of the token of the owner that created or took ownership of the job.

Syntax

HRESULT GetOwnerIntegrityLevel(
  [out] ULONG *pLevel
);

Parameters

  • pLevel [out]
    Integrity level of the token of the owner that created or took ownership of the job.

Return value

The method returns the following return values.

Return code Description
S_OK

Success

 

Remarks

This method returns the value from the GetSidSubAuthority function. For possible mandatory integrity RID values, see Well-known SIDs in the Security documentation.

Requirements

Minimum supported client

Windows 10, version 1709 [desktop apps only]

Minimum supported server

Windows Server 2016 [desktop apps only]

Header

Deliveryoptimization.h

IDL

DeliveryOptimization.idl

Library

Dosvc.lib

DLL

Dosvc.dll

IID

IID_IBackgroundCopyJob4 is defined as 659cdeae-489e-11d9-a9cd-000d56965251

See also

IBackgroundCopyJob4