Posted on 08-25-2022 05:40 AM
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!
Posted on 08-25-2022 05:51 AM
@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.
Posted on 08-26-2022 03:24 PM
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