netrc-machine-user-or-password

netrc-machine-user-or-password is a compiled Lisp function in `netrc.el'.

(netrc-machine-user-or-password MODE AUTHINFO-FILE-OR-LIST MACHINES PORTS DEFAULTS)

Get the user name or password according to MODE from AUTHINFO-FILE-OR-LIST.
Matches a machine from MACHINES and a port from PORTS, giving
default ports DEFAULTS to `netrc-machine'.

MODE can be "login" or "password", suitable for passing to
`netrc-get'.