Beispiel #1
0
 /// <summary>
 /// Not needed
 /// </summary>
 public override System.Management.Automation.PSCredential PromptForCredential(string caption, string message, string userName, string targetName, System.Management.Automation.PSCredentialTypes allowedCredentialTypes, System.Management.Automation.PSCredentialUIOptions options)
 {
     return(null);
 }
Beispiel #2
0
 public override System.Management.Automation.PSCredential PromptForCredential(string caption, string message, string userName, string targetName, System.Management.Automation.PSCredentialTypes allowedCredentialTypes, System.Management.Automation.PSCredentialUIOptions options)
 {
     throw new NotImplementedException();
 }
Beispiel #3
0
 public System.Management.Automation.PSCredential PromptForCredential(string caption, string message, string userName, string targetName, System.Management.Automation.PSCredentialTypes allowedCredentialTypes, System.Management.Automation.PSCredentialUIOptions options)
 {
     if (!IsStarted)
     {
         return(null);
     }
     return(CredUtilities.CredUIPromptForCredential(caption, message, userName, targetName, allowedCredentialTypes, options));
 }