Expand Minimize

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

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft