Skip to main content
Question

pass multiple usernames in ard script


Forum|alt.badge.img+6
  • Contributor
  • 50 replies

In the script for ARD provided by JAMF is there a way to allow multiple usernames as a targetUsername?

JAMF ARD script has a line for Parameter 4 here

HARDCODED VALUE FOR "USERNAME" IS SET HERE

targetUsername="username1"

So in this case putting username1 in parameter 4 allows username1 to logon as ARD.

But we'd like a second account to be able to log onto these machines. Let's call this username2

Can I put something like targetUsername="username1","username2" And then put that same value in parameter 4?

Or is there a way to make parameter 4 username1 and maybe add a parameter 5 with username2?

I'm pretty clueless.

Doug

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings