Top "Principalcontext" questions

PrincipalContext class is part of the Microsoft .NET System Directory Services Account Management API.

How to connect to Active Directory with Principal Context?

I've been at this for a while and I'm always getting: System.DirectoryServices.AccountManagement.PrincipalServerDownException Which I think means my …

c# active-directory principalcontext
UserPrincipal.FindByIdentity() always returns null

I am using LdapAuthentication to log a user into Active Directory. I want to find all the groups that the …

c# asp.net active-directory ldap principalcontext
PrincipalContext for query in Active Directory

I want to make a few simple reports from Active Directory. Following discussions, etc. I found that if I use .…

c# active-directory principalcontext
Using UserPrincipal.FindByIdentity and PrincipalContext with nested OU

Here is what I am trying to achieve: I have a nested OU structure that is about 5 levels deep. OU=…

c# active-directory principalcontext
How to use PrincipalContext in .NET Core 2.0

I have created a web application in .NET Core 2.0 where I would like to use a PrincipalContext from namespace System.…

asp.net-core active-directory principalcontext
Spring: SecurityContextHolder.getContext().getAuthentication().getPrincipal() returns null

In My MVC application, even after login when I am trying to get the principal object using, Object principal = SecurityContextHolder.…

java spring principalcontext
System.DirectoryServices.AccountManagement.PrincipalContext broken after Windows 10 update

I've been using this little function without any issue for the past few years to validate user credentials. The createPrincipalContext …

c# filenotfoundexception principalcontext
C# PrincipalContext The network path was not found

I am trying to use PrincipalContext to check if a local user group exists on a remote computer. I am …

c# principalcontext
Windows Service LdapException: The LDAP server is unavailable

I have a Windows Service that provides data through WCF to a Windows Forms application. The service takes care also …

c# .net active-directory ldap principalcontext