Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to make logging out a user in confluence with scriptrunner ?

Hi community !

I've been working on a script to remove a user from a group when he as not logged in after a significant amount of time, to preserve the number of licenses. But when I remove the license and the user is still connected, he cannot access to anything, including the anonymous-accessible content.


So he as to manually log out.

Is there a method to log him out automatically when I strip the license from him ?


Thanks for your help :-)

1 answer

Hi Florent! 

You mentioned that your goal here is to remove a user that has not been logged in for a significant amount of time, but you also mentioned that this user is still logged into Confluence when you attempt to remove them. 

Have you modified the default Confluence session timeout so that it overlaps the period of time your users need to have logged in to not be disabled? 

If not, these users should have been signed out automatically before they are deactivated.  

Kind regards, 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

⚡️NEW Group for Confluence Cloud Admins

Calling all Confluence Cloud Admins!  We created a new Community Group to support your unique needs as Confluence admins. This is a group where you can ask questions, access resou...

173 views 2 11
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you