cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to check whether current user is logged in or not in Java file?

former_member634320
Participant

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Likes

Check userService.isAnonymousUser(userService.getCurrentUser()) returns true or false. If true then anonymous user else logged in user.

former_member634320
Participant
0 Likes

Thank you for your response