Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Copying users

1 view
Skip to first unread message

xiyan

unread,
Oct 4, 2006, 7:06:13 PM10/4/06
to
hi,
In AD, whenever I highlight an exisiting user and select Copy so I can
create another account, I noticed some of the objects don't get copied over.
For example:
The webpage, address field, fax#, etc. However some of
other fields do get copied. Why is that?

Thanks in advance.


Paul Williams [MVP]

unread,
Oct 5, 2006, 2:38:28 AM10/5/06
to
Those aren't objects, they're attributes. The object is what you are
copying.

Each attribute definition in the schema has an attribute called searchFlags.
If you set the fourth bit (decimal value of 16 added to the existing value)
then this will set that attribute to be copied, when you copy a user.

The alternative is via script or managed code. Here's some info. for a
script:
--
http://www.microsoft.com/technet/scriptcenter/guide/sas_usr_cioj.mspx?pf=true

--
Paul Williams
Microsoft MVP - Windows Server - Directory Services
http://www.msresource.net | http://forums.msresource.net

Paul Williams [MVP]

unread,
Oct 5, 2006, 3:25:43 AM10/5/06
to
Slip of the tounge there. Bit 4 is actually the fifth bit. But the value
is the same 0x10 (16), just said it a little incorrectly due to the
difference in computers and bitwise operators starting from zero, but the
English language always starting with 1.

Hope I haven't confused you!
-- http://windowssdk.msdn.microsoft.com/en-us/library/ms679765.aspx

0 new messages