Here is the latest.

? "Creating local user environment....."
use h: /delete /persistent
use h: '\\server\'+@USERID+'$$'
IF InGroup("UserGroup")
USE P: '\\server\'share'
USE S: '\\server\'share2'
Endif
EXIT

The P and S drive mappings are not working.

It is the lateset version of Kix, and the AD group is a simple Global Security Group, which lives a few OU's down from the root.