CredentialResult Class
Represents the result of a credential prompt operation.
public sealed class CredentialResultConstructors
| Name | Description |
|---|---|
| CredentialResult(string, string, string?, CredentialSaveOption) | Initializes a new instance of the CredentialResult class. |
CredentialResult(string, string, string?, CredentialSaveOption)
CredentialResult.csInitializes a new instance of the CredentialResult class.
public CredentialResult(string userName, string password, string? domain, CredentialSaveOption credentialSaved)Parameters
userNamestring- The username.
passwordstring- The password.
domainstring?- The domain name.
credentialSavedCredentialSaveOption- Indicates whether the user chose to save the credentials.
Properties
| Name | Description |
|---|---|
| CredentialSaved | Gets a value indicating whether the user chose to save the credentials. |
| Domain | Gets the domain name. |
| Password | Gets the password. |
| UserName | Gets the username. |
CredentialSaved
CredentialResult.csGets a value indicating whether the user chose to save the credentials.
public CredentialSaveOption CredentialSaved { get; }Property value
Domain
CredentialResult.csPassword
CredentialResult.csUserName
CredentialResult.csMethods
| Name | Description |
|---|---|
| ToString() |