directoryservices
How to determine all the groups a user belongs to (including nested groups) in ActiveDirectory and .NET 3.5
I have an application that uses ActiveDirecotry authorisation and it has been decided that it needs to support nested AD groups, e.g.:[详细]
2023-02-17 02:55 分类:问答Get local user by SID
Question: I want to get a local windows user by SID: I found this code [ADSI](\"WinNT://$Env:Computername/<SID=S-开发者_StackOverflow中文版1-5-18>\")[详细]
2023-02-13 16:41 分类:问答Multiple Active Directory look-ups in MVC3 application
My MVC application allows a subset of users to insert/edit 开发者_高级运维records in a table, and since I\'m using Windows authentication I get their samaccountnames \"for free\" and can insert these[详细]
2023-02-13 14:28 分类:问答Obtaining raw property value with .NET DirectoryServices
Does anyone know if it\'s possible to get value of any LDAP object\'s property X? It seems like that .NET or ADSI removes stuff it cannot handle (de.Properties.Values.Count == de.Properties.PropertyNa[详细]
2023-02-12 13:10 分类:问答Why does DirectoryEntry("WinNT://") not show group everyone?
The below function (is supposed to) lists all groups on the local machine. Now the question: Why does the \"everyone\" group not show up ?[详细]
2023-02-12 02:29 分类:问答Setting DirectoryEntry.Username resets Properties
I\'m currently doing some work on a set of classes to manage our Active Directory. In one class for example I add a property to a DirectoryEntry object. According to the value of Directo开发者_JS百科r[详细]
2023-02-11 23:28 分类:问答LDAP with objectCategory query problem
I want to create LDAP query to filter printers by name and location and model deSearch.Filter = String.Format(\"(&(&(&(&(objectCateg开发者_开发知识库ory=printQueue)(printername={0}))([详细]
2023-02-11 05:13 分类:问答Directory Searcher SearchResultCollection.count is very slow
I have a directory searcher that is looking for dynamic groups. When I try to process the results it is taking 30 seconds to return the results.[详细]
2023-02-10 10:03 分类:问答How can I retain connection credentials across calls in System.DirectoryServices?
I am trying to connect to an Active Directory domain (W2K8R2 DC) in a different forest. To that end, I pass 开发者_如何学JAVAthe credentials into the following DirectoryEntry constructor:[详细]
2023-02-10 02:05 分类:问答Forms Authentication against Active Directory - LDAP Protocol
I need to create a web page that authenticates users against an existing active directory. The domain is actually a cloud computing configuration where there is a domain controller and multiple other[详细]
2023-02-06 22:02 分类:问答