Afficher un message
Vieux 02/10/2007, 16h39   #2
Richard Mueller [MVP]
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: how to select from multi valued attribute in Active Directory


"Thijs" <Thijs@discussions.microsoft.com> wrote in message
news:EC290F24-78C5-4BF9-8EF0-6D1E98E36C80@microsoft.com...
> Hi,
>
> I need to set a value within departmentNumber. there are 4 values to
> select
> from.
> How can I select one of these values and make it the "active" one.
>
> I need to do this with vbscript.
>
> Thanks in advance


First, I don't know of a departmentNumber attribute. Perhaps you added this
to the schema. Next multi-valued attributes do not designate any of the
values as "active". I don't think the values are in any particular order
either. If you read all the values into an array, cleared the attribute,
then read the values back into the attribute in a desired order, then they
might stay in that order, although I have not tried. I think I need
clarification of what you mean by the "active" one.

--
Richard Mueller
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net
--


  Réponse avec citation
 
Page generated in 0,45769 seconds with 9 queries