Specifying the SFTP Authentication Type for the Client (SetSFTPAuthenticationType)

Use the ICIClientSettings interface SetSFTPAuthenticationType method to set the authentication type for the client. Refer to User Connection Protocols for an illustration of how this and other Client Settings Interface Methods and Properties can be accessed in the Administrator interface.

Signature:

HRESULT SetSFTPAuthenticationType(

[in] BSTR val);

Example:

Dim strUser:strUser = "test"

set oUserSettings = oSite.GetUserSettings(strUser)

oUserSettings.SetSFTPAuthenticationType ("Password")

The values are: