I think cruise ship security can ask questions when someone comes to meet a passenger, especially if access to restricted areas is involved. I’d check discussions like spinanga app to see how other travelers describe the process and what identification may be requested. In my view, as long as the questions are reasonable and related to safety, it’s understandable that security wants to verify who is entering and why.