Principal.ContextType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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(); };
public System.DirectoryServices.AccountManagement.ContextType ContextType { get; }
public System.DirectoryServices.AccountManagement.ContextType ContextType { [System.Security.SecurityCritical] get; }
member this.ContextType : System.DirectoryServices.AccountManagement.ContextType
[<get: System.Security.SecurityCritical>]
member this.ContextType : System.DirectoryServices.AccountManagement.ContextType
Public ReadOnly Property ContextType As ContextType
Property Value
A ContextType enumeration value that specifies the context type.
- Attributes
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.