Hello,
I am working on an AX customisation where I need to query user information in AD. I am relying on the following class:
directorySearcher = new System.DirectoryServices.DirectorySearcher(entry);
However, due to the nature of the requirements I would like - in this particular case - for this class to operate under the user credentials of a specific user - not the current AX user.
Is there anyway to achieve this in AX? I.e. instantiate the DirectorySearcher class under the credentials and rights of a different user?
Best regards,
Grzegorz Skrzypczyk