0 votes

Adaxes support,

Is there a way to disable the red x icon in the search results window on a user account. This icon appears by defualt when we disable an account but our HR department does not want us to display the red x icon even if the account is disable. I dont see a way to accomplish this task in the web interface and the only other option it allows is to enable the users picture. Can this be accomplished in the xml config files?

by (80 points)

1 Answer

0 votes
by (215k points)

Hello,

Yes, this is possible, however you cannot change the icon in search results only. The icon will also be changed in all Active Directory lists and reports of Adaxes Web Interface.

To change the icon, you need to modify the Web Interface source files as follows:

  1. On the computer where your Adaxes Web Interface is installed, open the folder for the Adaxes Web Interface site that you want to configure. By default, Adaxes Web Interface sites are installed to the following folders:

    • Administrators:
      C:\Program Files\Softerra\Adaxes 3\Web Interface\Admin\
    • Help Desk:
      C:\Program Files\Softerra\Adaxes 3\Web Interface\HelpDesk\
    • Self-Service:
      C:\Program Files\Softerra\Adaxes 3\Web Interface\SelfService\
  2. Find the Web.config file and open it with any text editor.

  3. Find the following lines in the file:

     <add name="user">
       <objectViewer controlPath="~/ManageDirectory/UserControls/PersonViewer.ascx">
         ...
       </objectViewer>
       ...
       <objectRenameControl controlPath="~/ManageDirectory/UserControls/PersonRenameControl.ascx">
         ...
       </objectRenameControl>
    
  4. Right after the closing tag of the objectRenameControl element, you can see the following section. If it is not present in the file, add it starting on the following line after </objectRenameControl>. The section:

       <icons>
         <add type="Small" icon="user.small.png" />
         <add type="SmallDisabled" icon="user.small.disabled.png" />
         <add type="Create" icon="user.create.png" />
       </icons>
    
  5. To remove the red cross for disabled users, you need to change the icon for disabled users to the icon for regular users. To do this, replace user.small.disabled.png with user.small.png.

  6. Save the file.

Please remember that these changes will not be backed up by Web Interface backup / restore. Thus, you will need to perform the changes each time you upgrade or reinstall Adaxes.

Related questions

0 votes
1 answer

The account is configured with the user's email address as its name and the icon says third party.

asked Aug 19, 2021 by bsteele (70 points)
0 votes
1 answer

Adaxes Support, Is there a way to disable the Nested Group function of Active Directory in Adaxes. We are using some nested groups in rare cases but our corporate ... or blocking users that manage groups to only added members and not nest groups. Rodney

asked Aug 29, 2013 by rjthompson (80 points)
0 votes
1 answer

Hello! We are currently trying to use the REST API to search for all group objects in our domain, but the search result is only returning 1000 objects. We tried supplying a ... the request. Is there a way to retrieve more than 1000 objects using the REST API?

asked Feb 16 by KelseaIT (320 points)
0 votes
1 answer

Hello, I want to show an extension attribute when searching for a user in the web interface. I tried to add it under browsing, but its still not there. How can I modify the attributes that are shown in the results? Thanks!

asked Jul 27, 2021 by admin287 (20 points)
0 votes
1 answer

How do you add a custom attribute to the search results? Version 2017.2 / 3.8.14823.0

asked Nov 12, 2018 by hgletifer (1.3k points)
2,880 questions
2,600 answers
6,751 comments
117,201 users