ContextType Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Specifies the type of store to which the principal belongs.

Namespace:   System.DirectoryServices.AccountManagement
Assembly:  System.DirectoryServices.AccountManagement (in System.DirectoryServices.AccountManagement.dll)

public enum ContextType

Member nameDescription
ApplicationDirectory

The application directory store. This represents the AD LDS store.

Domain

The domain store. This represents the AD DS store.

Machine

The computer store. This represents the SAM store.

.NET Framework
Available since 3.5

System.DirectoryServices.AccountManagement
System.DirectoryServices.AccountManagement Namespace Overview

Return to top
Show: