How can I lock user accounts in Confluence?

Morning,

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?

Cheers.

1 answer

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.

Alex,

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

Cheers,

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

678 views 21 12
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