PrincipalSearcher.Context 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 that principal context that is used to perform the query. The context specifies the server or domain against which search operations are performed.
public:
property System::DirectoryServices::AccountManagement::PrincipalContext ^ Context { System::DirectoryServices::AccountManagement::PrincipalContext ^ get(); };
public System.DirectoryServices.AccountManagement.PrincipalContext Context { get; }
public System.DirectoryServices.AccountManagement.PrincipalContext Context { [System.Security.SecurityCritical] [System.Security.SecurityTreatAsSafe] get; }
member this.Context : System.DirectoryServices.AccountManagement.PrincipalContext
[<get: System.Security.SecurityCritical>]
[<get: System.Security.SecurityTreatAsSafe>]
member this.Context : System.DirectoryServices.AccountManagement.PrincipalContext
Public ReadOnly Property Context As PrincipalContext
Property Value
The PrincipalContext object that specifies the server or domain against which operations are performed.
- Attributes
Remarks
The PrincipalContext object contained in this property is obtained from the context property of the principal object set in the QueryFilter property. Queries are performed using the credentials specified in the principal context object and the container specified in the Container property. For Domain and ApplicationDirectory context types, the container is the Distinguished Name (DN) of a container object.
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기