I am able to get the UserName when using the SyteLine Desktop Client using USERNAME(). However, when the form is opened using the SyteLine Web Client the IIS Datapool App user is returned.
I have tried using:
USERNAME()
System.Security.Principal.WindowsIdentity.GetCurrent().Name
Environment.UserName
They all return the IIS Datapool App user when using the SyteLine Web Client.
Any help or suggestions would be greatly appreciate.
Thank you/