RPC mechanism for getting the current user.