Search in sources :

Example 1 with GcDeleteMember

use of edu.internet2.middleware.grouperClient.api.GcDeleteMember in project uhgroupings by uhawaii-system-its-ti-iam.

the class GrouperFactoryServiceImpl method makeWsDeleteMemberResults.

@Override
public WsDeleteMemberResults makeWsDeleteMemberResults(String group, WsSubjectLookup lookup, List<String> membersToDelete) {
    GcDeleteMember deleteMember = new GcDeleteMember();
    deleteMember.assignActAsSubject(lookup);
    deleteMember.assignGroupName(group);
    membersToDelete.forEach(deleteMember::addSubjectIdentifier);
    return deleteMember.execute();
}
Also used : GcDeleteMember(edu.internet2.middleware.grouperClient.api.GcDeleteMember)

Aggregations

GcDeleteMember (edu.internet2.middleware.grouperClient.api.GcDeleteMember)1