Freigeben über


COAUTHIDENTITY Struct

Definition

Represents a user name and password. A pointer to a COAUTHIDENTITY structure is a member of the COAUTHINFO structure, which specifies authentication settings for remote activation requests.

public value class COAUTHIDENTITY
struct COAUTHIDENTITY
[System.Runtime.InteropServices.ComConversionLoss]
public struct COAUTHIDENTITY
[<System.Runtime.InteropServices.ComConversionLoss>]
type COAUTHIDENTITY = struct
Public Structure COAUTHIDENTITY
Inheritance
COAUTHIDENTITY
Attributes

Fields

Domain

Represents a string containing the domain or workgroup name.

DomainLength

Represents the length of the Domain string, without the terminating NULL.

Flags

Represents values indicating that strings are ANSI (0x1) or Unicode (0x2). This value can be SEC_WINNT_AUTH_IDENTITY_ANSI or SEC_WINNT_AUTH_IDENTITY_UNICODE.

Password

Represents the string containing the user's password in the domain or workgroup.

PasswordLength

Represents the length of the Password string, without the terminating NULL.

User

Represents a string containing the user's name.

UserLength

Represents the length of the User string, without the terminating NULL.

Applies to