Principal.ContextType Principal.ContextType Principal.ContextType Principal.ContextType Property


Gets the context type enumeration value that specifies the type of principal context associated with this principal.

 property System::DirectoryServices::AccountManagement::ContextType ContextType { System::DirectoryServices::AccountManagement::ContextType get(); };
[get: System.Security.SecurityCritical]
public System.DirectoryServices.AccountManagement.ContextType ContextType { get; }
member this.ContextType : System.DirectoryServices.AccountManagement.ContextType
Public ReadOnly Property ContextType As ContextType

Property Value

A ContextType enumeration value that specifies the context type.


The context type is set on the principal context object in the PrincipalContext constructor. The value stored in this class is associated with the ContextType property.

Applies to