Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ContextType Enumeration

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
ApplicationDirectoryThe application directory store. This represents the AD LDS store.
DomainThe domain store. This represents the AD DS store.
MachineThe computer store. This represents the SAM store.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4
© 2015 Microsoft