_WSMAN_AUTHENTICATION_CREDENTIALS structure

Defines the authentication method and the credentials used for server or proxy authentication.

Syntax

typedef struct _WSMAN_AUTHENTICATION_CREDENTIALS {
  DWORD authenticationMechanism;
  union {
    WSMAN_USERNAME_PASSWORD_CREDS userAccount;
    PCWSTR                        certificateThumbprint;
  };
} WSMAN_AUTHENTICATION_CREDENTIALS;

Members

authenticationMechanism

Defines the authentication mechanism. This member can be set to zero. If it is set to zero, the WinRM client will choose between Kerberos and Negotiate. If it is not set to zero, this member must be one of the values of the WSManAuthenticationFlags enumeration.

Requirements

   
Windows version Windows 7 Windows Server 2008 R2
Header wsman.h