Category Archive for: Directory Services

DSML

With the namespace System. DirectoryServices . Protocols, you can access Active Directory through DSML (Directory Services Markup Language). DSML is a standard defined by the OASIS group  that allows you to access directory services through a Web service. To make Active Directory available through DSML, you must have at least Windows Server 2003 R2 or you must install…

Read More →

Account Management

Previous to .NET 3.5, it was difficult to create and modify user and group accounts. One way to do that was by using the classes from the System. DirectoryServices namespace, or by using the strongly typed native COM interfaces. New with .NET 3.5 is the assembly System DirectoryServices .AccountManagement that offers r-n abstraction to the System. DirectoryServices…

Read More →

Searching for User Objects

In this section, you build a Windows Forms application called UserSearch. This application is flexible insofar as a specific domain controller, username, and password to access Active Directory can be entered; otherwise, the user of the running process is used. In this application, you access the schema of the Active Directory service to get the properties of a…

Read More →

Searching in Active Directory

Because Active Directory is a data store optimized for read-mostly access, you will generally search for values. To search in Active Directory, the .NET Framework provides the DirectorySearcher class. You can use DirectorySearcher only with the LDAP provider; it doesn’t work with the other providers such as NDS or llS .. In the constructor of the DirectorySearcher…

Read More →

Programming Active Directory

To develop programs for Active Directory, you can Use the classes from either the System. DirectoryServices or the System DirectoryServices. Protocols namespaces. In the namespace System. DirectoryServices, you can find classes the. wrap ActIve Directory Service Interfaces (ADSI) COM objects to access ActIve Directory. ADSI is a programmatic interface to directory services. It defines some COM interfaces that…

Read More →

Administration Tools for Active Directory

Looking into some of the Active Directory administration tools can help to give you an idea of Active Directory, what data is in there, and what can be done programmatically. The system administrator has many tools to enter new data, update data, and configure Active Directory: The Active Directory Users and Computers MMC snap-in is used to…

Read More →

Characteristics of Active Directory Data

Active Directory doesn’t replace a relational database or the registry, so what kind of data would you store in it? With Active Directory you get hierarchical data. You can have containers that store further containers and objects, too. Containers themselves are objects as well. The data should be used for read-mostly. Because of replication occurring at certain…

Read More →

The Architecture of Active Directory

Before starting to program Active Directory, you need to know how it works, what it is used for, and what data can be stored there. Features The features of Active Directory can be summarized as follows: The data in Active Directory is grouped hierarchically objects can be stored inside other container objects. Instead of having a single,…

Read More →

Directory Services

Microsoft’s Active Directory is a directory service that provides a central, hierarchical store for user information, network resources, services, and so on, The information in this directory service can be extended to also store custom data that is of interest for the enterprise, For example, Microsoft Exchange Server and Microsoft Dynamics use Active Directory intensively to store public…

Read More →

Back to Top