This topic has not yet been rated - Rate this topic

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 [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Bits3_0.h (include Bits.h)

IDL

Bits3_0.idl

Library

Bits.lib

See also

IBackgroundCopyJob4

 

 

Send comments about this topic to Microsoft

Build date: 11/12/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.