Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Listing existing attributes in grouper Shell

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Listing existing attributes in grouper Shell


Chronological Thread 
  • From: "Hyzer, Chris" <>
  • To: Jeffrey Crawford <>
  • Cc: Gouper Users List <>
  • Subject: RE: [grouper-users] Listing existing attributes in grouper Shell
  • Date: Fri, 12 Feb 2016 15:13:16 +0000
  • Accept-language: en-US
  • Authentication-results: ucsc.edu; dkim=none (message not signed) header.d=none;ucsc.edu; dmarc=none action=none header.from=isc.upenn.edu;
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:23

See the attributeDelegate…  this is from a test case

 

    assertTrue(group0.getAttributeDelegate().hasAttribute(attributeDefName0));

    List<String> values = group0.getAttributeValueDelegate().retrieveValuesString(attributeDefName0.getName());

    assertEquals(2, values.size());

    assertTrue(values.contains("A"));

    assertTrue(values.contains("B"));

 

also

 

group0.getAttributeDelegate().retrieveAttributes()

 

 

 

 

From: Jeffrey Crawford [mailto:]
Sent: Friday, February 12, 2016 1:41 AM
To: Hyzer, Chris <>
Cc: Gouper Users List <>
Subject: Re: [grouper-users] Listing existing attributes in grouper Shell

 

sorry ask the question and then lost track. I'm using grouper shell. I wanted to see the current values and then set new schedule settings via the shell.


Jeffrey E. Crawford
ITS Application Administrator (IdM)
831-459-4365

 

Both pilots and IT professionals require training and currency before charging into clouds!

---------------------------------------

 

On Wed, Feb 10, 2016 at 8:29 AM, Hyzer, Chris <> wrote:

Is this for a WS call or an API call?  What are you trying to do?  Do you want values too or just see if an attribute is assigned?

 

From: [mailto:] On Behalf Of Jeffrey Crawford
Sent: Friday, February 05, 2016 3:20 PM
To: Gouper Users List <>
Subject: [grouper-users] Listing existing attributes in grouper Shell

 

I've see getGroupAttr but is there something like getGroupAttrs which lists the attributes that exist on a group entry?


Jeffrey

C.

 

 

Both pilots and IT professionals require training and currency before charging into clouds!

---------------------------------------

 




Archive powered by MHonArc 2.6.16.

Top of Page