470,811 Members | 1,113 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,811 developers. It's quick & easy.

DirectoryEntry.CopyTo Not Implemented!!

..NET 2.0

I was hoping the CopyTo method would be just what I needed to create a new
user in the same container and with the same properties as an existing one.
Rather than have to create the user and configure all the properties
manually. Something like the code below. However, when I try this I get a
not implemented exception.

Am I doing something wrong? If this isn't possible, could someone suggest a
way to create a new user based on an existing one please.

Dim newUsr As DirectoryEntry = copyFromUsr.CopyTo(copyFromUsr.Parent,
"newUserName")
Aug 7 '06 #1
1 1633
See my response in microsoft.public.dotnet.winforms.
Marc
Aug 8 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Jessica | last post: by
1 post views Thread by Mortimer Schnurd | last post: by
2 posts views Thread by Jay | last post: by
2 posts views Thread by AbdSol | last post: by
reply views Thread by Mik | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.