Skip to main content

October 28, 2025

Referencing Active Directory Attributes

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, soAD and ADc mean the same thing in that case.

Was this page helpful?

Provide feedback for this topic

Was this topic helpful?

Please do not include any personal or confidential information.

Generating link…