Is an MBO change originated by user?

In some cases you are in the middle of an MBO Java code and you need to know if the current method has been triggered by an interactive UI session or by background process like MIF or escalation.
This is what you need.

boolean isGUI = getUserInfo().isInteractive();

The getUserInfo() method is available on both Mbo and MboSet classes.

Labels: , ,