Windows desktop applications
Collapse the table of content
Expand the table of content
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.

PSCredentialTypes Enumeration

Defines the types of Windows PowerShell credentials.


Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)

'Usage
Dim instance As PSCredentialTypes

[FlagsAttribute] 
public enum class PSCredentialTypes
/** @attribute FlagsAttribute() */ 
public enum PSCredentialTypes
FlagsAttribute 
public enum PSCredentialTypes

Member nameDescription
DefaultDefault credentials.
DomainCredentials that are valid for a domain.
GenericGeneric credentials.

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


 

Target Platforms


Show:
© 2016 Microsoft