Top "Directoryentry" questions

DirectoryEntry is a .Net class that encapsulates a node or object in the Active Directory Domain Services hierarchy.

How I can find a User with the GUID(objectGUID) Parameter in Active Directory

In my ASP.NET Application I get Informations from Active Directory. I must get Informations about a User with the …

c# asp.net active-directory ldap directoryentry
How to get a list of all domains?

I'm trying to get all domains that are available in the Windows Login dialog (in the Domain dropdown). I've tried …

c# visual-studio-2008 directoryentry
Given a user's SID, how can I get the AD DirectoryEntry?

I have the user's SID as byte[] within windowsPrincipal.getIdentity().getSid(). How can I get an Active Directory entry (DirectoryEntry) …

directoryentry sid
How to provide DirectoryEntry.Exists with credentials?

This morning I discovered a nice method (DirectoryEntry.Exists), that should be able to check whether an Active Directory object …

c# .net active-directory directoryentry
How to know if my DirectoryEntry is really connected to my LDAP directory?

I'm connecting to a LDAP directory in C#, so I've used the DirectoryEntry class. When you do the "new DirectoryEntry" …

c# active-directory ldap directoryentry
How to use the objectGUID get a DirectoryEntry?

I know ,we can get a DirectoryEntry like this: string conPath = "LDAP://10.0.0.6/DC=wds,DC=gaga,DC=com"; string conUser = "…

c# active-directory guid directoryservices directoryentry
Adding a local user to a local group in C#

I can add a user perfectly well, but then I can't add it to a local group. I get this …

c# directoryentry
Can't get user from Directoryentry

I am getting crazy here, I'd really appreciate some help! simply I want to get user name or anything from …

c# active-directory directoryentry
Impersonation and DirectoryEntry

I am impersonating a user account successfully, but I am not able to use the impersonated account to bind to …

c# impersonation directoryentry
LDAP: How to add a new user to a group inside an OU

I have some code using DirectoryEntry to manipulate the local Active Directory via LDAP. Currently I find a specific OU, …

active-directory ldap directoryentry