Forum Discussion
Hi Christian,
Thanks for replying on this topic, as a little tangent - could you give a quick explanation of what "si" is simplistically? I've seen it around a lot and I've had to include it in certain bits of code without really understanding what it means (apart from the code doesn't work without it)!
Just intrigued what it actually does...!
Thanks,
Richard
- JackLacava9 months agoHonored Contributor
It's an instance of the SessionInfo class, basically an object containing some basic stuff like who you are, when you logged on, etc. OneStream passes it to every Main function defined on the Main class of every custom business rule; if inside that function you then invoke some other function or sub, you have to explicitly pass the object around.
Most BRApi calls will require it, in order to define whether you're actually allowed to perform this or that action.
- Richard_Mayo9 months agoNew Contributor III
Brilliant, thanks Jack - very clear, a good learning for me - always wondered what it meant!
Related Content
- 6 months ago
- 7 months ago
- 6 months ago