IBitsTokenOptions interface (bits4_0.h)

Use IBitsTokenOptions to associate and manage a pair of security tokens for a Background Intelligent Transfer Service (BITS) transfer job.

To get this interface, call the IBackgroundCopyJob::QueryInterface method, using __uuidof(IBitsTokenOptions) as the interface identifier.

Inheritance

The IBitsTokenOptions interface inherits from the IUnknown interface. IBitsTokenOptions also has these types of members:

Methods

The IBitsTokenOptions interface has these methods.

 
IBitsTokenOptions::ClearHelperToken

Discards the helper token, and does not change the usage flags.
IBitsTokenOptions::GetHelperTokenFlags

Returns the usage flags for a token that is associated with a BITS transfer job.
IBitsTokenOptions::GetHelperTokenSid

Returns the SID of the helper token if one is set.
IBitsTokenOptions::SetHelperToken

Sets the helper token to impersonate the token of the COM client.
IBitsTokenOptions::SetHelperTokenFlags

Sets the usage flags for a token that is associated with a BITS transfer job.

Requirements

Requirement Value
Minimum supported client Windows 7
Minimum supported server Windows Server 2008 R2
Target Platform Windows
Header bits4_0.h
Redistributable Windows Management Framework on Windows Vista with SP1, Windows Vista with SP2, and Windows Server 2008 with SP2