2011-09-12 52 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