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

ImageUploader.AuthenticationType Property

Supported in: ActiveX , Java

Authentication type configured on the server.

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("AuthenticationType", "None");
//...other params...
iu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setAuthenticationType(value);
value = getImageUploader("ImageUploaderID").getAuthenticationType();

Property Value

A member of the following enumeration that specifies an authentication type:

String valueInteger valueDescription
None0No authentication.
Ntlm1NTLM authentication.
Basic2Basic authentication.
Note

When you get this property value through the JavaScript, integer value will be returned (even if you initialize the property with a string value).

Default value is "None".

Remarks

This property is used to force Image Uploader to display a corresponding authentication dialog in the case when basic or ntlm authentication is set on the server.

See Also

Manual

Reference