Auto-fill "Email Address" within "User and Location" tab with an extension attribute?

Ryanmorales88
New Contributor II

Hi all,

Curious if anyone would know how to auto-fill the "Email Address" field under the "User and Location" tab with the data from an extension attribute we have?

For example if the extension attribute is pulling an email address from a computer XXXX.XXXX@somecompany.com, can I then have that data plopped into the "Email Address" field under the "User and Location" tab? Or is this simply not possible?

Thanks in advance!

2 REPLIES 2

sdagley
Esteemed Contributor II

@Ryanmorales88 No, that's not a location you can set an EA to display in. You should however be able to edit your LDAP configuration to have Jamf Pro pull the user's email address from the same field your EA is pulling it from.

mvpaa
New Contributor II

You can script this using the JAMF binary (or at least at one point I could) if you don’t have LDAP setup. Once you get your $name variable just pop it in like so…

 

jamf recon -email "${name}"@yourdomain.com