This topic has not yet been rated - Rate this topic

PSCredentialUIOptions Enumeration

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Defines the options that are available, such as different validation options, when prompting for credentials.


Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation)
'Usage
Dim instance As PSCredentialUIOptions

[FlagsAttribute] 
public enum PSCredentialUIOptions
/** @attribute FlagsAttribute() */ 
public enum PSCredentialUIOptions
FlagsAttribute 
public enum PSCredentialUIOptions
Member name Description
AlwaysPrompt Always prompt, even if a persisted credential is available.
Default Validates the user name, but not its existence or correctness.
None Performs no validation.
ReadOnlyUserName The user name is read-only and the user may not modify it.
ValidateUserNameSyntax Validates the syntax of the user name, but not its existence or correctness

These constants are used when prompting for credentials using the PromptForCredential method.


 

Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Did you find this helpful?
(1500 characters remaining)