Just some more thoughts:
There are different kinds of sliding parts on a vise. The sliding parts between the larger surfaces, such as between the moveable sliding jaw and the base could be "way oil"
Mobil Vactra Way Oil or typical multipurpose grease such as
Mobilgrease EP series. And the threaded screw, collar and screw nut could be a lubricant designed specifically for threads.
Thread lube (anti-seize)
My point is this. Lubricants are formulated for a variety of service enviroments. You can read up on the
vise manufacturer to see is a lube is recommended. I doubt most vise mfg even mention lubricants, (my nice new Yost does not) but a practical user like you and me, can read the
lubricant product data sheets and review the recommendations for what kind of applications the lube is typically used for. All my old vises, naturally are antiques and recommendations are unknown or information would be outdated. Dry lubes for woodworking vises should be considered as well, especially in the wood shop.
As always,
any lubricant is better than none. Where things get tricky is when the parts are rotating fast and then sling lubricants off the parts or operate in extreme service environment (corrosion). [Ask me about my lube fiasco with my 3 jaw lathe chuck!] Anyway, with a typical stationary bench vise, I use thread lubricant on the threaded portions and general purpose grease on other sliding portions.
Just my two cents worth...

And your vise will be thrilled that you provided ANY lubricant!