Accessing User Principal Name on a Shared iPad

Hi,

Our education app needs to be able to pick up the UPN of the currently logged in user on a Shared iPad set up via Apple Schools Manager.

I haven't been able to find any information about how to get such info, but I imagine I'm not looking in the right place.

Is such a thing possible, and if so, how?

Thanks