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
Inheritance
PSCredentialUIOptions
Attributes

Fields

AlwaysPrompt

Always prompt, even if a persisted credential was available.

Default

Validates the username, but not its existence or correctness.

None

Performs no validation.

ReadOnlyUserName

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

ValidateUserNameSyntax

Validates the username, but not its existence. or correctness