To complete my answer. you also need to know the UUID of the group you want to put there.
You can retrieve that with command line using pdm_extract as shown below:

Usage: E:\PROGRA~1/CA/SERVIC~1\bin\rgen or pdm_extract
[ -h (help) ]
[ -f (format string) ]
[ -c (CSV output) ]
[ -e (CSV output with double double quotes) ]
[ -r (informal report output) ]
[ -v (verbose) ]
[ -s (saved_script) ]
[ -u (no headers) ]
[ -d (use dataent.fmt) ]
[ -x (locale sensitive numeric formats) ]
[ -X (extract all tables except table list) ]
[ -B (do not include UTF-8 Byte Order Mark (BOM) (set by NX_ADD_UTF8_BYTE_ORDER_MARK )) ]
[ -C (convert output to named charset or 'DEFAULT' to use default charset) ]
ALL | database table names ....
Another easy way is to refer the group with their name but either if more pratical this is consuming more processing time and need to be avoided when possible.
This will look like below:
(group.last_name='mygroup1' OR group.last_name='mygroup2') AND active = 1
Hope this help
/J