Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] webservice to get custom attributes on a group ?

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] webservice to get custom attributes on a group ?


Chronological Thread 
  • From: Mathieu HETRU <>
  • To:
  • Subject: Re: [grouper-users] webservice to get custom attributes on a group ?
  • Date: Sun, 15 Apr 2018 12:22:24 +0200
  • Ironport-phdr: 9a23:TboILBRHHqrdP4ijA9swLA1didpsv+yvbD5Q0YIujvd0So/mwa6yYhWN2/xhgRfzUJnB7Loc0qyK6/umATRIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfb1/IA+qoQnNq8IbnZZsJqEtxxXTv3BGYf5WxWRmJVKSmxbz+MK994N9/ipTpvws6ddOXb31cKokQ7NYCi8mM30u683wqRbDVwqP6WACXWgQjxFFHhLK7BD+Xpf2ryv6qu9w0zSUMMHqUbw5Xymp4qF2QxHqlSgHLSY0/mHLhcJ/g61Vrg+vqR9xw4HWfo+bM+FzcbnfcNMfX2dBXtpdWi5HD4ihb4UPFe0BPeNAoof6vVQOsRu+BQiyC+Py1zRGhHD407Mm3esvDArL2wkgEMgSsHTUrdX6KroSXfq1zKbW0TXDde5W1Czg6IjOcxAhv+iAXbZxccrVzUkgCRnJjluKqYH8OT6ey+oDs2+e7+V6VOKvjXYqqwB3ojiz2MgskI/JiZwJylza7yl23ps6JcCgRE5mZ96kEYVQuzieN4t3RsMiR39ntDw0yr0cv5OwYSsEyIw/yhLCb/GKfJKE7gzjWeueOzt0mWxpdbalixu8/0Ws0u7xW8eu3FpXridIncPAum4C2hDP8MSLV/9w8lmn1D2SzQ7c8PtELloxlafDK54u3Lowlp0LvETGES76hV/6jLKQdkUl5Oik8uDnYrTipp+YKYB4kA/+Mr42lsy+B+Q3LBQOUnCG9em427Dv51P1TbVFg/Esj6XVrpTXKd4Vq6O3GwNV15ws6xe7DzeoytQYmnwHIUpAeB2dk4jpO1DOL+7lDfulg1Sjjitrx+rbPrD6H5XNKHnDkKn4cbZ56k5czA4zws5F65JaELENOOjzVVPptNzEEh85NBS5w+n9CNV6y4MeQXyAArWAPKPPql+H+PgvI/KXaY8RuTb9MOQl5+XwgXMjmF8de7Wp0oUNaHC+APtmP1uVbWDyjdgcDGdZ9jY5GePwj0CaXCQWem2/RbkU5zcnBZigAJuZAI2hne+vxiC+S7hfemBHB03EMVrUTbjMD/IFdCKTL9InkjEYT6WJVokgy1SqtQv+xvxpNLyHqWUjqZv/2Y0ttKXonhYo+GksAg==

I call the webservice with the local account GrouperSystem which is admin account.

Thanks.

Mathieu

Le 15 avr. 2018 à 07:04, Hyzer, Chris <> a écrit :

Are you calling that with a grouper admin account?  Or with an account which can ATTR_READ or ADMIN on the group and READ or ADMIN on the attribute definitions?

 

Thanks

Chris

 

From: [] On Behalf Of Mathieu HETRU
Sent: Saturday, April 14, 2018 6:15 AM
To:
Subject: Re: [grouper-users] webservice to get custom attributes on a group ?

 

i tried with this :

POST /grouper-ws/servicesRest/v2_2_000/attributeAssignments

{
  "WsRestGetAttributeAssignmentsRequest":{
    "attributeAssignType":"group",
    "includeAssignmentsOnAssignments":"T",
    "wsOwnerGroupLookups":[
      {
        "name":"UDL:ACT:LISTE:DAF:daf-budget",
        "uuid":""
      }
    ]
  }
}


but it returns empty response :

{
    "WsGetAttributeAssignmentsResults": {
        "responseMetadata": {
            "millis": "81",
            "serverVersion": "2.3.0"
        },
        "resultMetadata": {
            "resultCode": "SUCCESS",
            "resultMessage": ", Found 0 results.",
            "success": "T"
        },
        "wsAttributeDefNames": [
        ],
        "wsAttributeDefs": [
        ],
        "wsGroups": [
        ],
        "wsMemberships": [
        ],
        "wsStems": [
        ],
        "wsSubjects": [
        ]
    }
}


<image001.png>

Mathieu HETRU
Responsable du bureau Web/ENT

Université de Lille - Campus Cité Scientifique
Direction des Systèmes d'Information
Service Intégration / Exploitation
Cellule Web/ENT

Bureau 47 - Bâtiment A3
Domaine universitaire de la Cité Scientifique
Avenue Carl Von Limé
BP 90179 59653 Villeneuve d'Ascq

Tél. :+33 (0)3 62 26 83 81 (numéro interne : 68381)

| www.univ-lille.fr

Le 14/04/2018 à 11:28, Mathieu HETRU a écrit :

Thanks.

The version of my Grouper is 2.3

I have tested with findgroups webservice but i am not retrieved the custom attributes.

And with the get attribute assignments webservice i don't understand the documentation of the webservice :-(


<image001.png>

Mathieu HETRU
Responsable du bureau Web/ENT

Université de Lille - Campus Cité Scientifique
Direction des Systèmes d'Information
Service Intégration / Exploitation
Cellule Web/ENT

Bureau 47 - Bâtiment A3
Domaine universitaire de la Cité Scientifique
Avenue Carl Von Limé
BP 90179 59653 Villeneuve d'Ascq

Tél. :+33 (0)3 62 26 83 81 (numéro interne : 68381)

| www.univ-lille.fr

Le 13/04/2018 à 19:32, Hyzer, Chris a écrit :

What version of Grouper?

 

If they are the new attribute framework, and marker attributes, you can use:

 

https://spaces.internet2.edu/display/Grouper/Get+Attribute+Assignments

 

If they are legacy type, they will be in the group detail object in the group object with findgroups

 

https://spaces.internet2.edu/display/Grouper/Find+Groups

 

Thanks

Chris

 

 

 

From: [] On Behalf Of Mathieu HETRU
Sent: Friday, April 13, 2018 10:55 AM
To:
Subject: [grouper-users] webservice to get custom attributes on a group ?

 

Hello,

I have added some custom attributes on a group like list-name (for mailing list) and list-type..

I wish to get or set this custom attributes with webservices rest.

But i don't know which webservice to use?

Thanks for your help!

--

<image002.png>

Mathieu HETRU
Responsable du bureau Web/ENT

Université de Lille - Campus Cité Scientifique
Direction des Systèmes d'Information
Service Intégration / Exploitation
Cellule Web/ENT

Bureau 47 - Bâtiment A3
Domaine universitaire de la Cité Scientifique
Avenue Carl Von Limé
BP 90179 59653 Villeneuve d'Ascq

Tél. :+33 (0)3 62 26 83 81 (numéro interne : 68381)

| www.univ-lille.fr

 

 




Archive powered by MHonArc 2.6.19.

Top of Page