Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the credentials for talking to the destination.
Syntax
MI_INLINE MI_Result MI_DestinationOptions_AddDestinationCredentials(
[in, out] MI_DestinationOptions *options,
[in] const MI_UserCredentials *credentials
);
Parameters
[in, out] options
A pointer to a MI_DestinationOptions structure that contains the destination options.
[in] credentials
A pointer to a MI_UserCredentials structure that contains the credentials used when communicating with the destination machine.
Return value
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.
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 |