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

Discussions relating to breakout scripting, .NET and COM programming with Jiwa objects.

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

Postby indikad » Tue Jul 21, 2009 4:27 pm

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.
indikad
Frequent Contributor
Frequent Contributor
 
Posts: 182
Joined: Thu Jun 18, 2009 1:14 pm
Topics Solved: 2

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

Postby Mike.Sheen » Thu Jul 23, 2009 1:23 pm

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).
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2444
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 756


Return to Technical / Programming

Who is online

Users browsing this forum: No registered users and 6 guests

cron