Microsoft SDK for Java

COAUTHIDENTITY Class

The COAUTHIDENTITY class of the com.ms.com package represents a user name and password. A pointer to a COAUTHIDENTITY structure is a member of COAUTHINFO, which specifies authentication settings for remote activation requests.

Note   The COAUTHIDENTITY class was added as of versions 2925 through 3167 of the Microsoft virtual machine.

public class COAUTHIDENTITY
{
  // Members
  public String user;
  private int userLength;
  public String domain;
  private int domainLength;
  public String password;
  private int passwordLength;
  public int flags;
}

Members

user The string containing the user's name.
userLength The length of the User string, without the terminating NULL.
domain The string containing the domain or workgroup name.
domainLength The length of the Domain string, without the terminating NULL.
password The string containing the user's password in the domain or workgroup.
passwordLength The length of the Password string, without the terminating NULL.
flags The value indicating that the strings are ANSI (0x1) or Unicode(0x2).

© 1999 Microsoft Corporation. All rights reserved. Terms of use.