I would like to have a custom setting assigned to a role that contains multiple values.
I'd like to make a role so that when a computer is assigned to that role, it is added to the AD groups specified in that roles AddToADGroups setting.
I have a setting in the MDTDB called AddToADGroups. And I would like to list a variable number groups in that setting.
so something like AddToADGroups=Group1,Group2,Group3,Group4
So the RoleSettings view in the MDTDatabase might look like this (shortened)
Role | Type | ID | AddToADGroups |
Sample | R | 1 | Group1;Group2,Group3 |
On the ZTIGather/Customsettings side. at the end of ZTIGather, I would end up with
a list variable AddToAGroups(*) with the values parsed into that list as AddToADGroups001=Group1,AddToADGroups002=Group2 and so on.
Is it possible to do this using CustomSettings.ini and ZTIGather or is there no way (out of the box) to store a list in MDTDB.
I am thinking CustomSettings would be something like (leaving lots out)
Priority=RSETTINGS,Default
Properties=AddToADGroups(*)
[RSETTINGS]
SQLServer=MySQL.domain.com
Database=MDTDB
Netlib=DBNMPNTW
SQLShare=SQLSHARE$
Table=RoleSettings
Parameters=Role
I hope this makes sense what I am trying to do.