This plugin allows unauthenticated users to search for an user account to impersonate. This may be useful to randomly provide an identifier depending on allowed searching attributes and excluded values.
Attention
FindUser plugin works only if Impersonation plugin is enabled.
Just enable it in the Manager (section “plugins”). Then, set searching attributes used for selecting accounts and randomly suggest one of them in login form. Excluding attributes can also be defined to exclude some user accounts and avoid to provide them.
Note
By default, simple searching attributes are mandatory to restrict the number of entries to return. To set an attribute as optional, you can use the following syntax
uid##1 => UID
Note
You can provide a ‘multiValuesSeparator’ separated list of allowed searching values that will be displayed as an HTML <select> list
attribute#placeholder[#empty] => value1; placeholder1; value2; placeholder2
For example
uid#Identity => dwho; Dr Who; rtyler; Rose Tyler; msmith; Mr Smith
uid#Identity#1 => dwho; Dr Who; rtyler; Rose Tyler (allow empty value)
Entries are sorted by alphabetical order.
Attention
Searching request is built based on provided parameters value depending on users backend like this:
request => searchAttr1=value && searchAttr2=value && not excludeAttr1=value && not excludeAttr2=value
Danger
This plugin works only with a users backend and of course if the searching or excluding attributes are existing.
Danger
With AuthChoice, you must set which module will be called by this plugin (Backend choice by users).