Location: Symbol Reference > Classes > TJwCredentialsPrompt Class
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwCredentialsPrompt Class
Pascal
TJwCredentialsPrompt = class;

TJwCredentialsPrompt provides methods and properties to create a credential command prompt under Windows XP.

 
Name 
Description 
 
Create creates an credential prompt instance. 
 
Destroy frees the instance. It also clears UserName and Password in a secure way by overwriting it with zeros. 
Name 
Description 
The following tables list the members exposed by TJwCredentialsPrompt. 
The methods of the TJwCredentialsPrompt class are listed here. 
The properties of the TJwCredentialsPrompt class are listed here. 
The events of the TJwCredentialsPrompt class are listed here. 
 
Name 
Description 
 
OnConfirmCredential sets or gets a credential confirmation callback method that is called if the flag cfFlagsExpectConfirmation is set. In this case OnConfirmCredential must not be nil! 
 
Name 
Description 
 
ParseInstanceUserName parses the property UserName into the user and domain.
See TJwCredentialsTools.ParseUserName for more information. 
 
ShowModal displays a GUI or console credential promp.t  
 
Name 
Description 
 
AuthError receives an NTERROR value that is used by the credential dialog to perfom actions. 
 
Banner receives a banner bitmap that is displayed in the dialog 
 
Caption receives a text that is displayed in the caption bar of the dialog 
 
Flags sets or gets the flags for the credential prompt. See MSDN (http://msdn2.microsoft.com/en-us/library/aa375171.aspx) for more information. Some flags are mutualyl exclusive. If the flag cfFlagsExpectConfirmation is set you must define property OnConfirmCredential 
 
MaxPasswordLength sets or gets the maximum (input) length of the password. Do not set it to greater CREDUI_MAX_PASSWORD_LENGTH. 
 
MaxUserNameLength sets or gets the maximum (input) length of the username. Do not set it to greater CRED_MAX_USERNAME_LENGTH. 
 
MessageText receives a text that is displayed in the dialog 
 
ParentWindow receives the parent handle. It is automatically set to the active window. 
 
Password sets and gets the password that will be displayed in the prompt. It is automatically reset to the users input string if the the prompt is not cancelled. The username will be secure deleted on instance freeing. 
 
SaveCheck sets or gets the save checkbox state. It is automatically reset to the checkbox state in the prompt. 
 
ServerName receives a servername. This value must not be empty otherwise EJwsclInvalidParameterException will be raised! 
 
UserName sets and gets the username that will be displayed in the prompt. It is automatically reset to the users input string if the the prompt is not cancelled. The username will be secure deleted on instance freeing. 
Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc.
What do you think about this topic? Send feedback!