pass multiple usernames in ard script

dugnl
New Contributor III

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 0