Freigeben über


PSCredentialUIOptions Enum

Definition

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

AlwaysPrompt 2

Always prompt, even if a persisted credential was available.

Default 1

Validates the username, but not its existence or correctness.

None 0

Performs no validation.

ReadOnlyUserName 3

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

ValidateUserNameSyntax 1

Validates the username, but not its existence. or correctness.

Applies to