Determines the authentication settings used while making a remote activation request from the client scm to the server.
typedef struct _COAUTHINFO
{
    DWORD               dwAuthnSvc;
    DWORD               dwAuthzSvc;
    [string] WCHAR *    pwszServerPrincName;
    DWORD               dwAuthnLevel;
    DWORD               dwImpersonationLevel;
    AUTH_IDENTITY  *    pAuthIdentityData;
    DWORD               dwCapabilities;
} COAUTHINFO;
 
Members
typedef struct _AUTH_IDENTITY 
{
  [size_is(UserLength+1)] USHORT *        User;
  ULONG                    UserLength;
  [size_is(DomainLength+1)] USHORT *      Domain;
  ULONG                    DomainLength;
  [size_is(PasswordLength+1)] USHORT *    Password;
  ULONG                    PasswordLength;
  ULONG                    Flags;
} AUTH_IDENTITY;
 
Remarks
The values of the COAUTHINFO structure determine the authentication settings used while making a remote activation request from the client's scm to the server's scm. This structure is defined by default for NTLMSSP, and is described only for cases that need it to allow DCOM activations to work correctly with security providers other than NTLMSSP, or to specify additional security information used during remote activations for interoperability with alternate implementations of distributed COM. Currently, the impersonation level must be set to RPC_C_IMP_LEVEL_IMPERSONATE, or the result will be a failed activation when the server is running WindowsNT.
See Also