System.DirectoryServices.AccountManagement 命名空間概觀

System.DirectoryServices.AccountManagement 是 Microsoft .NET Framework 中的命名空間,它提供統一的存取與管理方式,可跨多重主體存放區存取與管理安全性主體。存放區包括 Active Directory 網域服務 (AD DS)、Active Directory 輕量型目錄服務 (AD LDS) 與電腦 SAM (MSAM)。System.DirectoryServices.AccountManagement 可管理目錄物件,而不受 System.DirectoryServices 命名空間影響。本指南是是 .NET Framework 程式設計指南的補充文件。它提供 System.DirectoryServices.AccountManagement 的相關背景資訊、System.DirectoryServices.AccountManagement 使用方式相關資訊,以及程式碼範例。.NET Framework 程式設計指南包含 System.DirectoryServices.AccountManagement 命名空間的所有參考資訊。

適用情況

系統管理員可以使用 System.DirectoryServices.AccountManagement 來自動化管理目錄中之電腦、使用者與群組主體物件的工作。

開發人員讀者

系統管理員可以使用 System.DirectoryServices.AccountManagement 來管理儲存在目錄中的主體 (例如,使用者、電腦與群組)。開發人員可以使用 System.DirectoryServices.AccountManagement 來建置搜尋、建立、修改或更新目錄中之電腦、使用者與群組主體物件的應用程式。

執行階段需求

System.DirectoryServices.AccountManagement 可在 Windows XP、Windows Vista、Windows Server 2003 以及 Windows Server 2008 獲得支援。

請參閱

參考

System.DirectoryServices.AccountManagement

概念

關於 System.DirectoryServices.AccountManagement
使用 System.DirectoryServices.AccountManagement

Send comments about this topic to Microsoft.

Copyright © 2008 by Microsoft Corporation.All rights reserved.