In your session bean you can use the following to the user name:
| ejbContext.getCallerPrincipal() | To get the EJB context you can inject it using: | @Resource | SessionContext ejbContext; | You should really consider using an interceptor to perform audit logging to keep your business logic clean. /Michael View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994149#3994149 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994149 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user