Aurigma Image Uploader 6.1 Dual
ImageUploader.AuthenticationType Property
See Also Supported in: ActiveX Java

Authentication type configured on the server.

# Syntax

##### Initialize

JavaScript | Copy Code
--- | ---
    <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 | Copy Code
--- | ---
    getImageUploader("ImageUploaderID").setAuthenticationType(value);
    value = getImageUploader("ImageUploaderID").getAuthenticationType();

##### Property Value

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

String value | Integer value | Description
--- | --- | ---
None | 0 | No authentication.
Ntlm | 1 | NTLM authentication.
Basic | 2 | Basic 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

##### Examples

Adding Authentication

##### Reference

AuthenticationRequestBasicText Property
AuthenticationRequestButtonCancelText Property
AuthenticationRequestButtonOkText Property
AuthenticationRequestDomainText Property
AuthenticationRequestLoginText Property
AuthenticationRequestNtlmText Property
AuthenticationRequestPasswordText Property