PSCredentialUIOptions PSCredentialUIOptions PSCredentialUIOptions Enum

Definition

Defines the options available when prompting for credentials. Used by PromptForCredential calls.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[System.Flags]
public enum PSCredentialUIOptions
type PSCredentialUIOptions = 
Public Enum PSCredentialUIOptions
Inheritance
PSCredentialUIOptionsPSCredentialUIOptionsPSCredentialUIOptions
Attributes

Fields

AlwaysPrompt AlwaysPrompt AlwaysPrompt

Always prompt, even if a persisted credential was available.

Default Default Default

Validates the username, but not its existence or correctness.

None None None

Performs no validation.

ReadOnlyUserName ReadOnlyUserName ReadOnlyUserName

Username is read-only, and the user may not modify it.

ValidateUserNameSyntax ValidateUserNameSyntax ValidateUserNameSyntax

Validates the username, but not its existence. or correctness