This documentation is for the old version. Go to the latest Upload Suite docs

ImageUploader.AuthenticationRequestBasicText Property

Supported in: ActiveX , Java

Text of the message on the authentication dialog when basic authentication is used.

Syntax

Initialize

JavaScript
<script type="text/javascript" src="iuembed.js">  </script>
<script type="text/javascript">
var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500);
//...other params...
iu.addParam("AuthenticationRequestBasicText", "[Name] requires Basic authentication");
//...other params...
iu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setAuthenticationRequestBasicText(value);
value = getImageUploader("ImageUploaderID").getAuthenticationRequestBasicText();

Property Value

A string value that specify text displayed on the authentication dialog when basic authentication is used.

To be able to display additional information in this dialog (like the server name), a special keyword is used:

[Name]
replaced by the name of the server which requests authentication.

Default value is "[Name] requires Basic authentication".

Remarks

The authentication dialog is displayed when the server requests a password. It is displayed during each upload session, i.e. it does not remember the login information.

This property is necessary for localization of Image Uploader.

Note

If you want to specify a multiline text use the "\n" sequence to separate lines.

See Also

Manual

Reference