thanks for the reply,
What I mean with the "active"one is de value that is selected.
the possible values are 677951, 670231, 673104 and 804787
677951 is the one to be selected.
I'm going to try with clearing the attribute first.
Thijs
"Richard Mueller [MVP]" wrote:
>
> "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
> --
>
>
>