Export (0) Print
Expand All

IBackgroundCopyJob4::GetOwnerElevationState method

Gets a value that determines if the token of the owner was elevated at the time they created or took ownership of the job.

Syntax


HRESULT GetOwnerElevationState(
  [out]  BOOL *pElevated
);

Parameters

pElevated [out]

Is TRUE if the token of the owner was elevated at the time they created or took ownership of the job; otherwise, FALSE.

Return value

The method returns the following return values.

Return codeDescription
S_OK

Success

 

Remarks

For details on elevated tokens, see User Account Control and BITS.

Note that if the job was created with an elevated token, all subsequent updates to the job must be done with an elevated token.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Bits3_0.h (include Bits.h)

IDL

Bits3_0.idl

Library

Bits.lib

See also

IBackgroundCopyJob4

 

 

Community Additions

ADD
Show:
© 2014 Microsoft