How to get the current user's eas


Extended by the UI, the user can obtain the current SysContext tools
such as:. SysContext.getSysContext () getCurrentUserInfo ()
in ControlerBean extended class, the user can obtain the current ContextUtil tools
such as: ContextUtil.getCurrentUserInfo (ctx)
on SysContext ContextUtil these two tools and methods described in:
these two classes are global EAS tools for acquiring information of the current user, the current information organization unit, the IP client, a client name and other information.

SysContext for client, as extended by the UI;

ContextUtil a server, such as ControllerBean extended class.

Guess you like

Origin www.cnblogs.com/luojiabao/p/10973980.html