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!