Return-Path: X-Original-To: apmail-directory-users-archive@www.apache.org Delivered-To: apmail-directory-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7BD8FE2DD for ; Tue, 29 Jan 2013 14:55:14 +0000 (UTC) Received: (qmail 19095 invoked by uid 500); 29 Jan 2013 14:55:14 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 19060 invoked by uid 500); 29 Jan 2013 14:55:14 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Received: (qmail 18576 invoked by uid 99); 29 Jan 2013 14:55:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jan 2013 14:55:13 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ayyagarikiran@gmail.com designates 209.85.210.179 as permitted sender) Received: from [209.85.210.179] (HELO mail-ia0-f179.google.com) (209.85.210.179) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jan 2013 14:55:07 +0000 Received: by mail-ia0-f179.google.com with SMTP id x24so675794iak.10 for ; Tue, 29 Jan 2013 06:54:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=ZKurnqa9mTm+SVwh1Rd3NOjIyG9G/Go5rxAMsO1JaBA=; b=fDoFX7odEKdamtfWaKVmojCn98138wAEw8TAv+JrKNwaTWOy50+BFz063RqGAbPOrQ nGIMeTTasrnHEBPE+PoznQ6N7NKm+IsHJCTsO8ms/nfceToGLU7oezFu/NXA/tiAy+Xy RhDkgfPMjBvBtuHrGZvhLA+H6quzW8bzjzEzuX3U/IbWUulUVHxnbCSjYlApQrkxHw5A +chnYi6FbHPM/V4hB2qR+eT+KDiATDdIoaTzBbKGeSj6HK+BITm4LRubwzl5p/RSpxYI 7XhhyZJ/3AflvmYM6E4Sg+Y1P6jTTLngoBQV7RlcI3QxePeqpDs1gQ0nx//SEdMp++gd d2mQ== MIME-Version: 1.0 X-Received: by 10.50.45.168 with SMTP id o8mr1092275igm.41.1359471285861; Tue, 29 Jan 2013 06:54:45 -0800 (PST) Sender: ayyagarikiran@gmail.com Received: by 10.231.72.67 with HTTP; Tue, 29 Jan 2013 06:54:45 -0800 (PST) In-Reply-To: <2BE7E81B77921F43A6A273C2DF2FA6A43CD7AC781F@IBSMBX.ibs-ag.com> References: <2BE7E81B77921F43A6A273C2DF2FA6A43CD7AC781F@IBSMBX.ibs-ag.com> Date: Tue, 29 Jan 2013 20:24:45 +0530 X-Google-Sender-Auth: usp-UQCwNRN_SF7AmO29ymU_Q7U Message-ID: Subject: Re: MultiValue attribute From: Kiran Ayyagari To: users@directory.apache.org Content-Type: multipart/alternative; boundary=14dae93403a9137e3304d46e932e X-Virus-Checked: Checked by ClamAV on apache.org --14dae93403a9137e3304d46e932e Content-Type: text/plain; charset=ISO-8859-1 right now the only way is to use iterator() method On Tue, Jan 29, 2013 at 8:17 PM, 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 --14dae93403a9137e3304d46e932e--