{i18n}User Management{/i18n}

{literal} {/literal} {if $can_add}
{i18n}Add new users{/i18n}

{i18n}To add users to the DMS authentication provider, you need to provide them with credentials through this section. If you are using an external source of login information like LDAP, ensure the appropriate plugin is loaded and use the section below.{/i18n}

{i18n}Add a new user{/i18n}{i18n}Add a new user{/i18n}

{if $authentication_sources}
{i18n}Add a user from an authentication source{/i18n}

{i18n}Instead of manually creating the user within the document management system, the user can be found within an authentication source (such as an LDAP directory) that has already been configured. This ensures that the user is correctly set up with limited intervention from the administrator, and that the user will not need to remember an additional password for the document management system.{/i18n}

{entity_select name="source_id" entities=$authentication_sources}

{/if} {else}
{i18n}You do not have enough available licenses to add more active users. Please disable some existing ones if you wish to add new active users.{/i18n}
{/if}
{i18n}Search for users{/i18n} {capture assign=link}{addQS}show_all=1{/addQS}{/capture}

{i18n arg_link=$link}Since there may be many users in the system, please select a group from the list below, or type a few letters from the person's username to begin. Alternatively, view all users (note that this may be very slow if you have many users).{/i18n}

{foreach item=oWidget from=$search_fields} {$oWidget->render()} {/foreach}
{if ($no_search === true)} {else} {if (!empty($search_results))}
{foreach item=oUser from=$search_results} {if ($oUser->getDisabled() != 2)} {/if} {/foreach}
  {i18n}Name{/i18n} {i18n}Username{/i18n} {i18n}Edit{/i18n} {i18n}Enabled{/i18n} {i18n}Group Memberships{/i18n} {i18n}Current Groups{/i18n}
{if ($oUser->getId() != ADMIN_USER_ID)} {else}—{/if} {$oUser->getName()} {$oUser->getUsername()} {i18n}Edit{/i18n} {if ($oUser->getDisabled() == 1)} {i18n}Disabled{/i18n} {else} {i18n}Enabled{/i18n} {/if} {i18n}Manage Groups{/i18n} {$context->getGroupStringForUser($oUser)}
{else}
{i18n}No results for your search.{/i18n}
{/if} {/if}