Windows Dev Center

Collapse the table of content
Expand the table of content
Expand Minimize
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PSHostUserInterface.PromptForCredential Method

When overridden in a derived class, prompts the user for credentials for a specified target. The variants of this method can be used to prompt the user with a specified prompt window caption, prompt message, user and target name, credential types allowed to be returned, and user interface (UI) behavior options.

NameDescription
PSHostUserInterface.PromptForCredential (String, String, String, String)When overridden in a derived class, prompts the user for credentials with a specified prompt window caption, prompt message, user name, and target name.
PSHostUserInterface.PromptForCredential (String, String, String, String, PSCredentialTypes, PSCredentialUIOptions)When overridden in a derived class, prompts the user for credentials by using a specified prompt window caption, prompt message, user name and target name, credential types allowed to be returned, and UI behavior options.


Show:
© 2015 Microsoft