Any configuration file that accepts environment variables can also use Active Directory attributes in the %{AD$attributeName}% reference format.

For example, if the Active Directory "department" attribute is populated for all users, setting the Remote path option of a drive mapping configuration file to \\Filesrv\%{AD$department}% maps a drive to a share with the department name.

The AD prefix means that the Active Directory user attribute with the specified name is looked up. Use ADc to look up computer attributes.
Note: Configuration settings for computer environment settings are always interpreted in computer context, so AD and ADc mean the same thing in that case.