Can a user invite other users programatically?

I am building a standard SaaS app.

A manager signs up, and then they add their employees. Then employees sign-in.

Can this be done? Where do I set this up?

Hi,

Here is a thread that might help you (maybe not entirely, the flow might be updated to your specific use case)