PSCredentialUIOptions Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the options available when prompting for credentials. Used by PromptForCredential calls.
This enumeration supports a bitwise combination of its member values.
public enum class PSCredentialUIOptions
[System.Flags]
public enum PSCredentialUIOptions
[<System.Flags>]
type PSCredentialUIOptions =
Public Enum PSCredentialUIOptions
- Inheritance
-
PSCredentialUIOptions
- Attributes
Fields
Name | Value | Description |
---|---|---|
None | 0 | Performs no validation. |
Default | 1 | Validates the username, but not its existence or correctness. |
ValidateUserNameSyntax | 1 | Validates the username, but not its existence. or correctness. |
AlwaysPrompt | 2 | Always prompt, even if a persisted credential was available. |
ReadOnlyUserName | 3 | Username is read-only, and the user may not modify it. |