Any reason Ice.Core.Session not listed in references?

e10

(Daniel Curran) #1

Hello All,

I’m trying to reference the current userID in C# on a Data Directive in the PriceLstParts table and when I go to reference Ice.Core.Session in the reference list I don’t see it. Is this not possible here? I’m on version 10.1.600

image


(Daniel Curran) #2

For anyone reading this in the future… If you’re in a Data Directive all you have to do is set a variable to Session.UserID right in your code.

string userID = Session.UserID;

No reason to include as a reference.