How to modify Job's Limit Group

From inside of Deadline Event’s OnJobSubmitted() method
I am able to get a Job’s Limit Groups by running:

limitGroupsVariable=job.JobLimitGroups

The resulting “limitGroupsVariable” is IronPython’s System.String[] type variable.

Now I want to append an additional Limit Group name "MyLimitGroupName’ as a string to this variable.

Running a line below results an error:

limitGroupsVariable.append("MyLimitGroupName')

Question:

How do we append another Limit Group name to this variable so it could be used to modify the Job’s Limit Groups with:

job.SetJobLimitGroups( limitGroupsVariable ) RepositoryUtils.SaveJob(job)

Hi,
By chance, we have this as one of our examples in our GitHub site:
github.com/ThinkboxSoftware/Dea … etJobLimit

I should note that we removed IronPython support back in Deadline 6. The .NET system string you are seeing is as a result of using .NET in our core and also we provide .NET library support via including “Python for .NET” combined with cPython 2.7 within the Deadline environment. Essentially, you get normal Python 2.7, but also access to all the .NET libraries (which I reckon is super awesome!). Here’s some background on that:
docs.thinkboxsoftware.com/produc … l#overview