MI_DestinationOptions_AddProxyCredentials function (mi.h)

Adds credentials to authenticate against a proxy.

Syntax

MI_INLINE MI_Result MI_DestinationOptions_AddProxyCredentials(
  [in, out] MI_DestinationOptions    *options,
  [in]      const MI_UserCredentials *credentials
);

Parameters

[in, out] options

A pointer to a destination options structure.

[in] credentials

Credentials used when communicating with the destination machine.

Return value

This function returns MI_INLINE MI_Result.

Remarks

Not all protocol transports support proxy configuration. Not all proxy servers support all authentication types. If the proxy requires dual-factor authentication this function can be called with both sets of credentials.

Requirements

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