2011-09-12 51 views
0

我想添加從System.DirectoryServices.Protocol命名空間中的組中刪除用戶。System.DirectoryServices.Protocol從組中添加/刪除用戶

我在這裏提到的樣品:

link to my other question

,但無法找到FO如何添加和使用S.DS.P.組中刪除用戶的exampel

有沒有人知道此操作的任何樣品?

感謝,

校準 -

+0

以及給出的示例沒有幫助:http://www.microsoft.com/download/en/details。 aspx?displaylang = en&id = 18086 ?? –

+0

我翻遍了它,沒有看到涉及組的樣本。我錯過了嗎? –

回答

2

你只希望在member屬性與DirectoryAttributeOperation.Add發送ModifyRequest。您應該通過的值是您要添加到組的用戶的DN