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 | |
---|---|---|
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Top
Fields
Name | Description | |
---|---|---|
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. |
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.