Kevin Falcone > RTx-Shredder-0.08 > RTx::Shredder::Plugin::Users

Download:
RTx-Shredder-0.08.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

RTx::Shredder::Plugin::Users - search plugin for wiping users.

ARGUMENTS ^

status - string

Status argument allow you to limit result set to disabled, enabled or any users. Default value is disabled.

name - mask

User name mask.

email - mask

Email address mask.

replace_relations - user identifier

When you delete user there is could be minor links to him in RT DB. This option allow you to replace this links with link to other user. This links are Creator and LastUpdatedBy, but NOT any watcher roles, this mean that if user is watcher(Requestor, Owner, Cc or AdminCc) of the ticket or queue then link would be deleted.

This argument could be user id or name.

no_tickets - boolean

If true then plugin looks for users who are not watchers (Owners, Requestors, Ccs or AdminCcs) of any ticket.

Note that found users still may have relations with other objects and you most probably want to use replace_relations option.

syntax highlighting: