Within a servlet, given a task ID, I want to be able to tell if that task is ass

Within a servlet, given a task ID, I want to be able to tell if that task is assigned to a Custom User group. I'm able to get the the list of assignee's with the code below, but how do I use that list to be able to tell if the assignee is a custom user group?

TaskDetails details = pes.getTaskDetails(ID);
Assignment.Assignees[] assignees = details.getAssignees();

Any help would be appreciated. Thanks!

OriginalPostID-175464

OriginalPostID-175464

  Discussion posts and replies are publicly visible