Auto Populate username / short name in VPN profile

neilpotter
New Contributor II

I'm trying to setup a Configuration Profile to setup a VPN profile for each user automatically.
All works expect I can't work out how to auto populate the username.
I've seen old post relating to using either %short_name% or $Username but when I try these in the profile the text above is entered.
Using Sierra OS if that makes any difference?

Thanks

2 REPLIES 2

LarryH
New Contributor III

Hi @neilpotter

I'm using $USERNAME <all uppercase> in the account section and it works just fine. But I have to deploy the VPN profile after I assign the device to the user so it has the correct username.

neilpotter
New Contributor II

Thanks @LarryH

At the moment our setup has no users listed in JAMF, and all settings are at a computer level.
My profile is created ok for each and every user that logs in.

Should I really be looking at setting up users within JAMF do you think, or is there a way of pushing this profile once a users has logged in?

I'm assuming my policy os creating a systemwide VPN profile maybe?

Thanks