This function returns the authentication method used for a logged-in server process ID session.
authmech ([spid)]