Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I lock user accounts in Confluence?

Mick Davidson
Contributor
July 10, 2012

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

4 votes
Alejandro Conde Carrillo
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 11, 2012

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.

Mick Davidson
Contributor
July 11, 2012

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
TAGS
AUG Leaders

Atlassian Community Events