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 (850 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

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 (850 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 (6.2k points)
0 votes
1 answer

I've got a scheduled agent that is attempting to export data for updated employees. When an employee record is updated, we're setting the value of the LDAP custom attribute ... ") # Release resources used by the search $userResult.Dispose() return } ...

asked Oct 17, 2015 by sandramnc (3.4k points)
+1 vote
1 answer

I have deployed Adaxes on an internal network and use a Microsoft AD FS Web Application Proxy to publish the web interface to external networks. After reviewing the ... Community article. Is it possible to configure Adaxes to log the external IP address?

asked Feb 5 by widoc-jamie (260 points)
0 votes
1 answer

I have Search configured for one of our web interfaces. One of the fields that can be searched is a custom attribute admCustomAttributeText4 (with a friendly name of ... are definitely some accounts with that attribute populated. Is this behaving as designed?

asked Sep 19, 2018 by sandramnc (3.4k points)
2,241 questions
2,002 answers
5,483 comments
17,030 users