We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 39273
    • 61 Posts
    I have installed modxActiveDirectory and authentication is working perfectly. Now I am trying to create a snippet that when the page loads will pull all pertinent information from Active Directory for the logged in user. To do this I am trying to pass modx.user.username to a snippet but I have found this doesn't work correctly. When I log off, modx.user.username still holds onto the last username.

    Is anyone else using modxActiveDirectory and pulling related data from Active Directory? Would you be willing to share sample code or detail how you got that to work?

    Thanks in advance for your help!