Old Users Cleanup Job

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

Cleanup Settings

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 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)

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