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

Definition

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

public:
 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.

Remarks

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