Skip to Content.
Sympa Menu

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

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] RE: Creating groups through API

Chronological Thread 
  • From: "Hyzer, Chris" <>
  • To: "Katika,Shanthi Swaroop" <>, "" <>
  • Subject: [grouper-users] RE: Creating groups through API
  • Date: Thu, 5 May 2016 20:41:23 +0000
  • Accept-language: en-US
  • Authentication-results:; dkim=none (message not signed) header.d=none;; dmarc=none action=none;
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:23

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"

>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