Package edu.internet2.middleware.grouperClient.api

Examples of edu.internet2.middleware.grouperClient.api.GcGetMembers.addGroupName()


      WsGroup wsGroup = null;

    if (key != null) {

      GcFindGroups gcFindGroups = new GcFindGroups();
      gcFindGroups.addGroupName(key);
      WsFindGroupsResults results = gcFindGroups.execute();

      // if no results were returned, return null
      if (results != null && results.getGroupResults() != null
          && results.getGroupResults().length > 0) {
View Full Code Here


  }

  public Group findGroup(String groupID){
    GcFindGroups groupFinder = new GcFindGroups();

    groupFinder.addGroupName(groupID);
    WsFindGroupsResults res = groupFinder.execute();
   
    if(!"T".equals(res.getResultMetadata().getSuccess())){
      throw new RuntimeException("Error finding group: "+groupID+", "+res.getResultMetadata().getResultMessage());
    }
View Full Code Here

        try {
           
            // execute a search for members of the specified group
            GcGetMembers getGroupsMembers = new GcGetMembers();
            getGroupsMembers.addGroupName(group.getLocalKey());
            getGroupsMembers.assignIncludeSubjectDetail(true);
            WsGetMembersResults results = getGroupsMembers.execute();
           
            if (results == null || results.getResults() == null
                    || results.getResults().length == 0
View Full Code Here

            if (!validKey(group.getLocalKey())) {
                return Collections.<IEntityGroup> emptyList().iterator();
            }

            GcGetMembers gcGetMembers = new GcGetMembers();
            gcGetMembers.addGroupName(group.getLocalKey());
            gcGetMembers.assignIncludeSubjectDetail(true);
            gcGetMembers.addSourceId("g:gsa");

            WsGetMembersResults results = gcGetMembers.execute();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.