System.DirectoryServices.Protocol移动用户问题 [英] System.DirectoryServices.Protocol move user question
问题描述
我想移动用户从一个OU到不同的OU,并且还更新使用System.DirectoryServices.Protocol一些属性,但我有一个非常很难找到任何code样品任何东西,除了搜索。
I want to move a user from one OU to a Different OU, and also to update a few attributes using System.DirectoryServices.Protocol, but I'm having a very hard time finding any code samples for anything except searching.
任何人都可以请张贴一些code的例子和或链接至code样本/教程,这两个操作S.DS.P?
Can anyone please post some code samples and or links to code samples/tutorials for these two operation in S.DS.P?
谢谢
卡尔 -
推荐答案
您可以看看名为的介绍System.DirectoryServices.Protocols里面您会发现下载的 MS_Sample_Pack_For_SDSP.EXE 这与很多例子的解决方案:
You can have a look to the article called Introduction to System.DirectoryServices.Protocols inside you'll find a shortcut to download MS_Sample_Pack_For_SDSP.EXE which is a solution with many examples :
MoveRenameObject server_or_domain_name originalDn newParentDn objectName
可能对您有用。
may be useful for you.
这篇关于System.DirectoryServices.Protocol移动用户问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!