Can anyone point me in the right direction on which API call to authenticate on a system?

Specifically I want to login from Workstation X to Server Y without performing any ancillary actions.

Any help appreciated!