Okay, I have searched this forum and am trying to use this code but keep getting an error about Core does not exist in the namespace Ice.
//All - Current User
private void iniuser()
{
Ice.Core.Session Session = (Ice.Core.Session)MainController.Session;
//function for setting a field to the current user to be used for anything later
String iniuser = Session.UserID;
}