Overview
RestClient RestClient myRestClient.AuthenticateBasic(userName: string, password: string)
...
Specifying user name and password from scripting environment is not recommended. RestClient.Authenticate method automatically resolves the credentials from domain settings and more secure.