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 code | Description |
|---|---|
|
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 |
|
|
IDL |
|
|
Library |
|
See also
Send comments about this topic to Microsoft
Build date: 11/12/2012