How can I lock user accounts in Confluence?


Is it possible to create user accounts that automatically lock the user out if they don't login for a certain amount of time? For example, after a month or three months etc?


1 answer

This widget could not be displayed.

Hi Mick.

I don't know an easy way to do that in the interface, and the last autentication date is not available through the API.

The only way I can think of do that is to write an script which connect to the DB and check all AttributeName='lastAuthenticated' in the table cwd_user_attribute, and then deactivate the users which haven't logged in for the specified time. I recommendo you to do the user deactivation through the API rather than directly on DB.


thanks. I'll pass the idea on to the tech team and see what they think.


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

504 views 7 6
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you