OK, not as easy as it seemed. I figured that the document group would be available as part of the document object but I have not been able to find it. Also I assumed that the users document group would also be available as part of the loged in user information but again I have not found it...may need to do a bit of homework here.
Sorry for getting your hopes up before checking all the parts.