Page 1 of 1

How can I obtain the logged-in user information in Breakout

PostPosted: Tue Jul 21, 2009 4:27 pm
by indikad
I need to be able to get the login name of the currently logged in user's user name within a breakout. The idea is to control what part of code to run depending on the user.
I am aware that I can obtain user permissions ( seen the other thread )

Thanks very much.

Re: How can I obtain the logged-in user information in Break

PostPosted: Thu Jul 23, 2009 1:23 pm
by Mike.Sheen
Indika,

The jiwa database object has a few properties which will help you - JiwaLoginID is the HR_Staff.StaffID of the currently logged in user, and JiwaLoginUserName is the username of the currently logged in user (HR_Staff.UserName).