Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Re: Creating groups through API

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Re: Creating groups through API

Chronological Thread 
  • From: "Waldbieser, Carl" <>
  • To: Shanthi Swaroop Katika <>
  • Cc: Julio Polo <>,
  • Subject: Re: [grouper-users] Re: Creating groups through API
  • Date: Tue, 10 May 2016 09:25:03 -0400 (EDT)


This code has examples for using the API to hook groups up to LDAP or SQL

There are variations on how to do this. More comprehensive LDAP-loader docs
are here:

Carl Waldbieser
ITS Systems Programmer
Lafayette College

----- Original Message -----
From: "Shanthi Swaroop Katika"
To: "Julio Polo"

Sent: Tuesday, May 10, 2016 9:10:41 AM
Subject: Re: [grouper-users] Re: Creating groups through API

Thank you! This is exactly what I was looking for. It’s in the documentation
but I don’t know how I missed it.

For my next question, is there an api to make a group group-loader? All the
groups I create through the api need to be group-loader groups.


From: Julio Polo
Date: Thursday, May 5, 2016 at 11:00 PM
To: temp
Cc: "Hyzer, Chris"


Subject: Re: [grouper-users] Re: Creating groups through API

I think you're looking for Group Save:

Julio Polo
University of Hawaii

On Thu, May 5, 2016 at 11:54 AM, Katika,Shanthi Swaroop
Thank You! It certainly does solve my second question! I’m using the web
services to get a list of members, groups, add members, etc,. but haven’t
been able to find the the web service to add a completely new group.


On 5/5/16, 8:41 PM, "Hyzer, Chris"

>The loader could create optin/optout groups for you, see this as an example
>(doesn’t do optin/optout but you get the idea):
>from php you could call Grouper web services right?
>-----Original Message-----
>From: Katika,Shanthi Swaroop
>Sent: Thursday, May 05, 2016 4:14 PM
>To: Hyzer, Chris
>Subject: Re: Creating groups through API
>Thank you for the quick reply.
>I’m already using group loader groups for my initial groups. The
>members/subjects contain several meta data fields like departments,
>interests, etc,. I’m trying to create several groups based on these meta
>fields. Creating groups manually for each of them would be very inefficent.
>So, I’m basically looking for any available APIs that would let me interact
>with Grouper application to create new groups through my PHP Code, where
>most of the logic would be defined. I’m using PHP to implement them.
>Rethinking the second question, it’s basically the same as my first
>question. All the groups created above should only be updated by the group
>loader, so I’m going through the recommended method of creating Opt in, opt
>out and overall groups. Instead of creating these groups manually for each
>of the above canonical groups, if an api exists to create groups, I could
>just use it. But so far, I haven’t had any luck in finding it.
>P.S. Just realized, I sent my previous email only to Chris. Resending it to
>the group.
>On 5/5/16, 7:54 PM, "Hyzer, Chris"
> wrote:
>>For the first question, maybe the Grouper Loader would help?
>>For the second, maybe something like the include/exclude. Maybe give a
>>detailed write up of what you want and we could see if there is something
>>quick for you.
>>-----Original Message-----
>> On Behalf Of Katika,Shanthi Swaroop
>>Sent: Thursday, May 05, 2016 3:24 PM
>>Subject: [grouper-users] Creating groups through API
>>I’m just starting to learn the application. I have the basic canonical
>>groups set up but I’m trying to create some custom groups on the fly based
>>on the field values. Is there a way in grouper to do it through api or
>>config changes without having to create each and every group manually? I
>>have gone through the documentation but haven’t found anything that alludes
>>to it.
>>Also, I’m trying to do the same with opt in, opt out and overall groups. Is
>>there a way to create all those required groups without having to create
>>them manually for each canonical group ?

Archive powered by MHonArc 2.6.16.

Top of Page