It's not possible within the CallManager provided directory script, but it's possible with custom scripting. My company and others have used the toolkit like the one at ldapservices.com to put together custom scripts that allow querying the LDAP directory by department and displaying it with the user.
If you just want to display the user's department and don't need to actually query by department, you may be able to take the CallManager directory services SDK and edit it slightly to output the department name. However, the Cisco-provided SDK is remarkably inflexible and doesn't really allow you to "step outside" the box - it won't let you query by department name, or do many other things one might like to do with a custom directory.
With a CCO login, you can download a copy of the CallManager Directory Services SDK here:
These are the paths to get to each CCX logs through CLI. They may be helpful if you are having issues accessing RTMT or downloading logs through it.
If you want to download them you have to prefix "file get " and you can add one of the options (re...