> For the complete documentation index, see [llms.txt](https://ztrust.gitbook.io/ztrust-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ztrust.gitbook.io/ztrust-documentation/user-manual-ztrust-v1.0/admin-manual/how-to-setup-archive-inactive-user-feature.md).

# How to setup Archive Inactive User feature

If an inactive user doesn't engage even after receiving the email notification, their account will be archived for the specified number of days, after which it will be deactivated.<br>

To set up the feature for archiving the Inactive User, do the following steps

1. Login to ZTrust Admin Console.
2. Go to Realm Settings.

![](https://lh7-us.googleusercontent.com/docsz/AD_4nXcuSlxEHdbt5EvLkQdk3RnEw7Byhafsp6k4hwQAec2nb8apPsdgcX-vQ_ZBL-jh6RrOJbfRlbwAHl5RGebLkIrwKxPmNJNgdzrtkjQqYVtxfSRRQiHPU0N0AVOPYUKaJoX45kar1uuOoNr8nT61PUeNvaybGTe4xkLSuqJBUAk7wGtvNn3izk0?key=trHzRgGTD4ANqZgrt456QA)

3. Go to the Localization tab.

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXcb4340VYoZap2yERAgNXx6lTONBT1Ly4bm4BsMcOh-ahQigvHeMWbYkqpXUpDRNOV3vOd4Tbk8uhVrpEoqCrvRWdzNOZaYqO8PoohslsdAEMtZFxyN5R6vECE1t9FNpbWR8_vCvmgbkBV_q-P4Ep-WvABEdxFHft_88dl-62I054Ez6aRlWmQ?key=trHzRgGTD4ANqZgrt456QA" alt=""><figcaption></figcaption></figure>

4. Give the locale name as required, for example - Archive-User.

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXfweQIcgIpZ3cc2fvJ30TvuKJFcARe9-WgNVUDjFxvwHj_SkZS1SKEgMunAdvQLokRxAi3_NDF_d148dfbh2IsZfMJYfgjKaW1ArR5BeBJ4T4RP72x_UHD84BLJx9U2cU0bwl43X7ONISKmD3w2Dip1DtOY4PV7dF3kgk1LXN6jp3psezDNGG4?key=trHzRgGTD4ANqZgrt456QA" alt=""><figcaption></figcaption></figure>

5. Click on Create.
6. Provide the Key as deactivate-inactive-users and Value as False.

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXc6b5kABhWy5i5yXWNaDdvxrBpVzZq6C5i3IsE-sVNjbT8sOSmxsjwuKhwaCUCQVGExaNnc8c0OzPGmJuwr55YEz3r-HC3FZyLR01S-ZO32hLVJImS4jNlmiUsdO1u79v_U9LMM34Px_t2dDK20Nn9wvHMvUiniGxiqLsXGIq7WS-dk5cvWyfY?key=trHzRgGTD4ANqZgrt456QA" alt=""><figcaption></figcaption></figure>

7. Click on the dropdown for Locale and select Archive-User.

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXd-UjSwrApWSZRPxtDUSTI6PGUPtM8p59S4X4B56uYcY2I3M6t2MSR-Wq9vCCXiiCwOQ3ou5SvB4CGlBlT7McR_JTwzglhaZBqzmNdL2YYESOhFyw7uX2io6l1k78xcy5yY3Z-869MRlMZiv8pJe9z5qX95IUNVIen1hJdJKHKwXfOW4yde-Q?key=trHzRgGTD4ANqZgrt456QA" alt=""><figcaption></figcaption></figure>

A table will be displayed containing the Key, Value and Actions to either Edit or Delete the localization text.

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXclBd5JkQu5enMr7SCTDyNjLy_hGBLPmRusRrNdwNqTsrdAcVGxweBGpnRr7S_3mJvE_DN57AAyvH-WH2vd3ExjLG2BEprLVy2vOtdY41dqbB2v3RacOLg8UFUnnQBfqXfW64NkD6WuEXmGECnJpiyFuPLvlpalcf7Si6rdFh93-mILkpwbQg?key=trHzRgGTD4ANqZgrt456QA" alt=""><figcaption></figcaption></figure>

8. Click on Add localization text.

![](https://lh7-us.googleusercontent.com/docsz/AD_4nXfwiK2eYk43JKW38Y9BsfJfcU3qX-7OTccW74Ib9SbpfBV-q64ZnqFiYHP7KpKmSk-baFdu8X9L1IAOAMyY5OBbQAVfAQFGPiqVvkmNqDbPHgeG8TurlcuzxqDezRs896AEa8EJs6JO3p8O4JYeCCCw_Mpa36i2Bt7f9wqfjahWBiJb-jYntA?key=trHzRgGTD4ANqZgrt456QA)

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXdDK137n6IxRQ1X1o2v8W9aj7dQUdEOVMSC5cf-GORkIvX5qvWyP9yBX3JEzuvStqA7Gj0GIHaUeHZ0UrcawE-5OmoIgaAYodMMy7ceQsPiwaHLjvNoNwC1NIKcfqJoVSlXGop92dYeq39j1WXXqKMIxKCS4p87cH2W-ByXN2BmZ8ziy0H1rQ?key=trHzRgGTD4ANqZgrt456QA" alt=""><figcaption></figcaption></figure>

9. Provide the Key as required, for example - deactivation-time and the Value as 8 (example).

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXdADzREYfUfoxM1Asyj1DnSSNq0f2feJTAIg_kzKLWnVwLQjURJkKj9nYrwzWjO9vsE-ClHwRdD-qC8J7FNLBwxGKaWqt81QYFiiS27d6kHQJv2_anPT7Fu3rKBHW8VdmQmB6nYL1ItRnr7UpPvefht31WI3ILuf6MVIy8jnBIoJQ2m0PoS-70?key=trHzRgGTD4ANqZgrt456QA" alt=""><figcaption></figcaption></figure>

10. Click on Save.

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXf0vkXDhbg-O5An1eNLoYC02WA_2yS28610BMftr-EPvS_dM6Yh90AsrnKvBCBnmVxnXIwjcXYw7n47hxJjTfOePNgsxDrgkIzZGYsVY0nZDc72fAWYdPse6iWJb1a22ocmMAXSuSZapRBRVSp-nskmVQehCus8jkhwWTgepEiJ8xnpzUeo9DI?key=trHzRgGTD4ANqZgrt456QA" alt=""><figcaption></figcaption></figure>

11. Click on Add localization text.
12. Create a Key as deactivation-time-unit and Value as days, hours or minutes. For example - minutes

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXdrznWG2IOU8HfKiNqy8EvmyS8oV5vvNMFD9YizpWBibzj5ruwvOFtomwQywVeT1IHbwPDeexEAHjIk_TaAQm2bU1yAnpio8WHoXUEs7p7zm9Uzah5541iSvTw_gr8AqqxwMLcmdZ2ru4BkDQWyBnuqS-hlWzL0zt1tYWFaGpWre3OhoUm7V64?key=trHzRgGTD4ANqZgrt456QA" alt=""><figcaption></figcaption></figure>

13. Click on Save.

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXfFaun4pQhlkCAWQUMS8iEIb866umtuvBek6w2dgtw9C66b9kjhfcrtrbiNn3z-ie9ORI675O1j_YUdzgkWypCPho55Wn7gpcSMqywxgLJC68CNF43LIaz-MmsINiofUHxgq8rQAvETOcxi2rUSbsCdMhnb6jjMilkW3p1Pxwdyub4VioKTUbI?key=trHzRgGTD4ANqZgrt456QA" alt=""><figcaption></figcaption></figure>

14. Click on Edit for deactivate-inactive-users.

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXe5X8TJ6dRmohHYZzFpXR_3qlsN_Dg6jWMExGSIDNId7qhEXaTqwedCmP8E_hUNZVP3x70qMy7bEpU17Ct5HQ5fZY0VVjqYzqm7iP3i5ndI8ZNg62x4jGupWgUbnSQqXP8XcsfI5U3uGynhEDkQcOcV48R-cAhZ4nHlL9MNuDChOpfcReV1wek?key=trHzRgGTD4ANqZgrt456QA" alt=""><figcaption></figcaption></figure>

15. Change the Value from false to true.

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXfTBILVMFyVTEf6eE8cXzI2wAPNUPh_MDjzNGGBM6sbobh-73R3Hy0tYlKbchylkk4NHuvYD5g959Bo0wIQtcgKJlt7WY8AivYD9xqX-bbULwxgjycnmh7ZEgWPyAQ-8s3R-rnCwFdSFpC9ETo4l3Azj1I7Jf63416B-oJclrHg9Ac?key=trHzRgGTD4ANqZgrt456QA" alt=""><figcaption></figcaption></figure>

16. Click on Save.

The feature to archive inactive users has been configured now.

<br>
