Hello All,
I am trying to extract the AD Group information from the curuserid() using few classes from System.DirectoryServices.AccountManagement namespace. For this reason I had added 3 references in my AOT.
- System.DirectoryServices
- System.DirectoryServices.AccountManagement
- System.DirectoryServices.Protocols
As a practice, I do my development stuff from my local AX client installed in my machine which points to a remote machine where the corresponding AOS is installed. Therefore I have added all these DirectoryServices namespaces in my local AX client.
Now the scenario is :-
I have added an existing AD Group into the Users list in AX. Now when I login to my local AX client using a userid which doesn't exist in the AX users list but is a member of the said AD Group, it will popup the Group information and some other stuff in the infolog. AX will automatically add this userid to the Users list in AX. The userid is shown as a random text prefixed by a '$' sign.
Now the problem is:-
I login to AX client in the remote machine containing the AOS. If I login using this userid (which doesn't exist in Users list), a error popup comes up "CLRObject cannot be found." This issue is not observed in my local AX client where I have done my development. If I login using this userid in my local AX client, all the desired info is shown properly.
My guess is:-
These dlls that I have referenced is not available to the AX client at that remote server machine where the AOS is installed. Do I need to put explicitly those dlls somewhere in the server machine (like Client/Bin or Server/Bin or XppIL?)?
*This post is locked for comments
I have the same question (0)