directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Carlo.Acco...@ibs-ag.com>
Subject RE: MultiValue attribute
Date Tue, 29 Jan 2013 14:55:56 GMT
OK, that works.. thanks!	


-----Original Message-----
From: ayyagarikiran@gmail.com [mailto:ayyagarikiran@gmail.com] On Behalf Of Kiran Ayyagari
Sent: Tuesday, January 29, 2013 9:55 AM
To: users@directory.apache.org
Subject: Re: MultiValue attribute

right now the only way is to use iterator() method

On Tue, Jan 29, 2013 at 8:17 PM, <Carlo.Accorsi@ibs-ag.com> wrote:

> Hi,
> Congrats on the new releases!  I'm In the process of refactoring all 
> our JNDI code to ApacheDS API :)
>
> The attribute 'member' in our schema  for users is used to store group 
> DN's a user is a member of.
>
> We sometimes need to manipulate this group String[] with other logic 
> and therefore need to retrieve it from the directory.
> I can see if the list is the same with .contains but I can't figure 
> out how to get  an array  of values out of an Attribute..?
>
> http://directory.apache.org/api/gen-docs/latest/apidocs/
>
>
> Thanks.
>
>
>


--
Kiran Ayyagari
http://keydap.com

Mime
View raw message