WsSetCredentials

Associates credentials that you send with web service calls for authentication.

Syntax

bool WsSetCredentials (string username, string password)

Parameters

username
The credential user name. Smart parameters are supported.
password
The credential password. Smart parameters are supported.

Returns:

True, if the action succeeds. Otherwise, False.

Level

All levels.

Details

Use this action with the WsUploadData or WsUploadFile actions.

Example

WsSetCredentials("abcdef", "xyz123")