Sets the user name for authentication.
var value = obj.getUsername(); obj.setUsername(value);
var req = new AW.HTTP.Request; req.setURL('<url>'); req.setUsername('admin'); // login name req.setPassword('xyz123'); req.request();
password property, request() method