Skip to content

Latest commit

 

History

History
71 lines (58 loc) · 2.53 KB

nf-mi-mi_destinationoptions_adddestinationcredentials.md

File metadata and controls

71 lines (58 loc) · 2.53 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:mi.MI_DestinationOptions_AddDestinationCredentials
MI_DestinationOptions_AddDestinationCredentials function (mi.h)
Sets the credentials for talking to the destination.
MI_DestinationOptions_AddDestinationCredentials
MI_DestinationOptions_AddDestinationCredentials function [Windows Management Infrastructure (MI)]
mi/MI_DestinationOptions_AddDestinationCredentials
wmi_v2.mi_destinationoptions_adddestinationcredentials
wmi_v2\mi_destinationoptions_adddestinationcredentials.htm
wmi_v2
d3abb931-47eb-4f13-b463-caf6c6b918b0
12/05/2018
MI_DestinationOptions_AddDestinationCredentials, MI_DestinationOptions_AddDestinationCredentials function [Windows Management Infrastructure (MI)], mi/MI_DestinationOptions_AddDestinationCredentials, wmi_v2.mi_destinationoptions_adddestinationcredentials
mi.h
Windows
Windows 8
Windows Server 2012
Windows
Windows Management Framework 3.0 on Windows Server 2008 R2 with SP1, Windows 7 with SP1, and Windows Server 2008 with SP2
19H1
MI_DestinationOptions_AddDestinationCredentials
mi/MI_DestinationOptions_AddDestinationCredentials
c++
APIRef
kbSyntax
HeaderDef
Mi.h
MI_DestinationOptions_AddDestinationCredentials

MI_DestinationOptions_AddDestinationCredentials function

-description

Sets the credentials for talking to the destination.

-parameters

-param options [in, out]

A pointer to a MI_DestinationOptions structure that contains the destination options.

-param credentials [in]

A pointer to a MI_UserCredentials structure that contains the credentials used when communicating with the destination machine.

-returns

This function returns MI_INLINE MI_Result.

-remarks

The credentials supported will vary depending on the destination, the protocol and the transport. If dual-factor authentication is required this method can be called twice. The default credentials will vary depending on the protocol and transport selected.