Share via


COAUTHIDENTITY Structure

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.

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'Declaration
Public Structure COAUTHIDENTITY
public struct COAUTHIDENTITY
public value class COAUTHIDENTITY
[<Sealed>]
type COAUTHIDENTITY =  struct end
JScript supports the use of structures, but not the declaration of new ones.

The COAUTHIDENTITY type exposes the following members.

Methods

  Name Description
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from ValueType.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Fields

  Name Description
Public field Domain Represents a string containing the domain or workgroup name.
Public field DomainLength Represents the length of the Domain string, without the terminating NULL.
Public field 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.
Public field Password Represents the string containing the user's password in the domain or workgroup.
Public field PasswordLength Represents the length of the Password string, without the terminating NULL.
Public field User Represents a string containing the user's name.
Public field UserLength Represents the length of the User string, without the terminating NULL.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.OLE.Interop Namespace