Share via


CredentialInfo Class

Definition

Provides a container class for user credentials to access system resources.

public ref class CredentialInfo sealed
public sealed class CredentialInfo
type CredentialInfo = class
Public NotInheritable Class CredentialInfo
Inheritance
CredentialInfo

Remarks

This is a convenience class to store a user name and password.

Constructors

CredentialInfo()

Initializes a new instance of the CredentialInfo class.

Properties

Password

Sets or gets the password.

UserName

Sets or gets the user name.

Methods

ToString()

Returns the user name.

Applies to