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: "Hyzer, Chris" <>
  • To: Mathieu HETRU <>, "" <>
  • Subject: RE: [grouper-users] webservice to get custom attributes on a group ?
  • Date: Sun, 15 Apr 2018 05:04:12 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:lYniaBdh3LvvGiZWyfO5PprKlGMj4u6mDksu8pMizoh2WeGdxc26bRCN2/xhgRfzUJnB7Loc0qyK6/umATRIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfb1/IA+qoQnNq8IbnZZsJqEtxxXTv3BGYf5WxWRmJVKSmxbz+MK994N9/ipTpvws6ddOXb31cKokQ7NYCi8mM30u683wqRbDVwqP6WACXWgQjxFFHhLK7BD+Xpf2ryv6qu9w0zSUMMHqUbw5Xymp4rx1QxH0ligIKz858HnWisNuiqJbvAmhrAF7z4LNfY2ZKOZycqbbcNgHR2ROQ9xRWjRBDI2icoUPE+QPM+VWr4b/plsBsRSxCBK2BO/z1jNFnGP60bE43uknDArI3BYgH9ULsHnMotn7NqcTUOGrw6nS1TnIcu1b2Tfn6IjJaRAtr+yHULV1ccXNyUkuFwLEgUuKqYH+PjOVzfgCv3KG7+p4S+2vjWgnpxtvrTey28chk4/EjZ8bxFDD8CV22oc1JdugRU56Z96kDIVftzucN4RoXsMuXXtktzgnxb0boZK7YS4KyJU5xxLGb/yHcoyI4hb9W+qLLzd4nnRoc6+8iRaq6UWs1PfzWtWp3FtPsyZJj8TAu3UD1xHc9sSLVv5w80W/1juAygze7+RJLV4omafYM5It37A9moYJvUnHAyP6glv6gLKSe0k+5+Sl6eXqbq3oppCCNIJ4lgTzP6EwlcCiG+s1Ng0DUmaF9em9zrLu+E70TKhEjvAzjKXVrIzVKdodq6WkGQFayJwj5Ay6Dzq+0NQXg30HLFVddRyfk4XnPE3CLO3hAfqim1qhni5nx/fdMbL/GJnNKWXDkKv6crZ69k5czhc8wcpH55JODbEBPOz8VVPttNzZCR85NRa4w+H6CNVh0oMeXmWPAqyDPKzOtl+I4/ojI+iKZIALpDbwM+Yp6OTygXMknFIRYLSl0YYSZXC2EflqP1mVbH/uj9gfHmoGow8zQen0hFGeUjNff3OyULg95jE/BoKmF4DDRoW1jbyEwCi7Hp1XZ2FYBVCWCnrodp6EVOsWZCKPOs9ujDoEVb67R4A/yB6uqRf2y6B7IerM5i0YqZXj2cB65+3JkhEy6CR0ANqH022UUmF0hX0HRyUt3K1kpUx9y0yD0bRjg/BGD9BT5vVJUhskOp7Gyex1FczyVhzbctiXVVmmX4buPTZka9stw94Dfg5dNumYs1iX2iO2A74YivqLCYAu74rB2XnvYsJ8z3LLkqc72R1uCMRVMnC+i7Q66hPeHZXhkkOFmryseLhGmiPB6S3LmWWUu1xAXRQ1TL7IR2s3Z03KoM7/61+YCbKiFOJ0HBFGzJvICrpYZ8etxX5GXvb4cpyKZmmxinW9Hz6J3bjKcZLnfWNb0SnAXhtX2zsP9GqLYFBtThyqpHjTWXk3TQri
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

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: [mailto:] 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": [
        ]
    }
}


Université de Lille

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 :-(


Université de Lille

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!

--

Université de Lille

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