Old Users Cleanup Job

Версия 5.1 от superadmin на 08.10.2026 04:16
Предупреждение
Из соображений безопасности документ отображается в ограниченном режиме, поскольку это не текущая версия. Из-за этого могут быть расхождения и ошибки.

Cleanup Settings

The password of the user to bind to the LDAP when running the job.
XWiki.superadmin The XWiki user to replace deleted users as page creator and last author, if the deleted users had the "Program"-right. Choose an existing (but possibly disabled) account that has the "Program"-right, too. Usually choosing XWiki.superadmin is a viable option.
Да Set this option if you want the job to make no actual changes but only log any actions that would be performed.
Set this option if the users that are part of the excluded groups OR are not part of the included groups should be deleted/disabled.

Scheduler Job Settings

Remove profile data for users no longer in LDAP
0 12 1 * * ?
Скрипт содержит код, который будет выполнен во время запуска задания планировщиком. Он должен быть написан на языке Groovy. Доступ к API XWiki осуществляется посредством предопределенных переменных *xwiki* и *context*.
def oldUserCleanup  = xwiki.parseGroovyFromPage('Scheduler.LDAP.OldUserCleanupJobCode')
oldUserCleanup.cleanup(xcontext)

Назад к списку заданий