Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
/
PromptForCredentials
PromptForCredentials
Jan. 31, 2019
Parameter
(Caption, Message : String; var User : String; var Password : String) : Boolean;
Beschreibung
Über die Klassenfunktion TccTools.PromptForCredentials wird ein entsprechender Standard-Passworteingabedialog angezeigt. Im Ergebnis wird true zurückgeliefert wenn der Benutzer den Dialog mit Ok bestätigt. Andernfalls false. Über die Parameter User und Password können die entsprechenden Benutzereingaben ausgewertet werden.
Beispiel
var
User, Password : String;
begin
if TccTools.PromptForCredentials('MyCaption','My example message',User,Password) = true then
begin
ShowMessage(User + ' / ' + Password);
end;
end;
, multiple selections available, Use left or right arrow keys to navigate selected items