Export (0) Print
Expand All

BG_AUTH_CREDENTIALS structure

The BG_AUTH_CREDENTIALS structure identifies the target (proxy or server), authentication scheme, and the user's credentials to use for user authentication requests. The structure is passed to the IBackgroundCopyJob2::SetCredentials method.

Syntax


typedef struct {
  BG_AUTH_TARGET            Target;
  BG_AUTH_SCHEME            Scheme;
  BG_AUTH_CREDENTIALS_UNION Credentials;
} BG_AUTH_CREDENTIALS;

Members

Target

Identifies whether to use the credentials for a proxy or server authentication request. For a list of values, see the BG_AUTH_TARGET enumeration. You can specify only one value.

Scheme

Identifies the scheme to use for authentication (for example, Basic or NTLM). For a list of values, see the BG_AUTH_SCHEME enumeration. You can specify only one value.

Credentials

Identifies the credentials to use for the specified authentication scheme. For details, see the BG_AUTH_CREDENTIALS_UNION union.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Redistributable

BITS 1.5 on Windows XP

Header

Bits1_5.h (include Bits.h)

IDL

Bits1_5.idl

See also

BG_AUTH_CREDENTIALS_UNION
BG_AUTH_SCHEME
BG_AUTH_TARGET
IBackgroundCopyJob2::SetCredentials

 

 

Community Additions

ADD
Show:
© 2015 Microsoft