I have created two test accounts test and test1. I am able to login to one local windows user account "test" using the following code. However when ...
I have created two test accounts test and test1. I am able to login to one local windows user account "test" using the following code. However when ...
I am using PrincipalContext.ValidateCredentials method from System.DirectoryServices.AccountManagement namespace to validate user credentials against ...
Creating an instance of a PrincipalSearcher for accessing a local ActiveDirectory takes about 11 - 22 seconds. Interestingly the time is always 11 or ...
I get stuck with following problem: I want to use Synologys LDAP Service. Works fine. My config is: FDQN: "ldap.local" Base DN: "dc=ldap,dc=loc ...
I'm making a small forms application for adding a new user to Active Directory. After creating the PrincipalContext, I'm making the UserPrincipal and ...
I need to validate a specific user's path in active diretory in order to let him to autenticate to my website. Is there a method that I can user to ge ...
I've searched the stack but didn't find an answer that helps my situation. We have two web apps on different sets of servers. Both do Active Directory ...
I was trying to access user information like first name, last name of the user in my ASP.NET Core MVC project with Windows authentication. I actually ...
I've an application with a logon screen for users to authenticate themselves against the domain. I've made use of the System.DirectoryServices.Account ...
I'm using PrincipalContext's ValidateCredentials method to authenticate into Active Directory, but for some reason it returns false despite the passwo ...
So I'm trying to authenticate users that log into our website by running their credentials through windows/Azure authentication. It seems like the sim ...
I am trying to update a user on Active Directory using MVC C# LDAP, if a user is already in groups I remove him first from the group and add him again ...
We need to create bulk users in AD using C#. Looking for something that has good performance. I found 2 ways to do it on Google. Using PrincipleCo ...
I've been pulling my hair out at this issue, been all over stack overflow but still haven't been able to fix it. The Goal I am trying to create acco ...
The UserPrincipal.FindByIdentity(…) method does not work cross domain. the users outside of the domain the SingleSignOn app pool is running as are not ...
I am trying to get the email of an AD group using C#, below is the code that I have. May I know how can I assign usr.EmailAddress to a variable? ...
Customer is asking for LDAP / Active Directory authentication along with OTP (one time password) / multi-factor authentication for an old existing web ...
Currently, I am validating the credentials of an Active Directory user with the help of this code: The bool flag is returning the status the user c ...
I have a Windows Service that provides data through WCF to a Windows Forms application. The service takes care also of user authentication, validating ...
I want to locate the Primary Group from the code below I can get all the Groups for a user, but which one is the primary group? Whats returned fro ...