How to get the username of currently logged in user of activiti explorer

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-10-2014 01:14 AM
Hi guys,
I'm in big trouble i want the currently logged in users userName to use it in my application.
Please help in finding out currently logged in user details.
*help*
I'm in big trouble i want the currently logged in users userName to use it in my application.
Please help in finding out currently logged in user details.
*help*
Labels:
- Labels:
-
Archive
6 REPLIES 6

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-10-2014 03:20 AM
Expliaining Further.
I am using the default login screen of activiti. I have created users in user groups.
My question is , when a user logs in, I need to capture his User Id used for login. How do I do it?
I am using the default login screen of activiti. I have created users in user groups.
My question is , when a user logs in, I need to capture his User Id used for login. How do I do it?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-10-2014 05:20 AM
In java-code, you can use the org.activiti.engine.impl.identity.Authentication.getAuthenticatedUserId()
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-24-2014 05:51 AM
hi
i have logged by kermit user
org.activiti.engine.impl.identity.Authentication.getAuthenticatedUserId() return null
???
please help
i have logged by kermit user
org.activiti.engine.impl.identity.Authentication.getAuthenticatedUserId() return null
???
please help
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2014 05:36 AM
Where are you calling this code?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2015 04:20 AM
I calling this code int activiti-explorer
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-23-2014 08:27 AM
import org.activiti.engine.impl.identity.Authentication;
Check it: String currentLoggedUser=Authentication.getAuthenticatedUserId();
