Function: tramp-sh-handle-get-remote-uid
tramp-sh-handle-get-remote-uid is a byte-compiled function defined in
tramp-sh.el.gz.
Signature
(tramp-sh-handle-get-remote-uid VEC ID-FORMAT)
Documentation
The uid of the remote connection VEC, in ID-FORMAT.
ID-FORMAT valid values are string and integer.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp-sh.el.gz
(defun tramp-sh-handle-get-remote-uid (vec id-format)
"The uid of the remote connection VEC, in ID-FORMAT.
ID-FORMAT valid values are `string' and `integer'."
(ignore-errors
(cond
((tramp-get-remote-id vec) (tramp-get-remote-uid-with-id vec id-format))
((tramp-get-remote-perl vec) (tramp-get-remote-uid-with-perl vec id-format))
((tramp-get-remote-python vec)
(tramp-get-remote-uid-with-python vec id-format)))))