directoryservices
Automate SSL certificate install to IIS 6 sites using C#
I\'m trying to automate the process of generating a site in IIS 6 via C# code.I\'m using DirectoryServices and I\'m nearly there..I have it creating the site, setting up all the bindings etc. just fin[详细]
2023-04-13 08:57 分类:问答Limiting the attributes returned in an LDAP query
How do I limit the attributes that are returned in an LDAP query through System.DirectoryServices? I have been using a DirectorySearcher and adding the properties that I want to DirectorySearcher.Pr[详细]
2023-04-09 20:05 分类:问答LDAP protocol vs other Directory Service Protocol
What are th开发者_运维百科e reason one would use any other protocol for Naming/Directory Services other than LDAP when LDAP is being a common standard?There is only 1 alternative to LDAP as far as I l[详细]
2023-04-09 05:46 分类:问答Error with Directory.Services when on production
The following code works fine in Visual Studio Development enviroment on my local machine. However when I move the files to a Windows 2008 R2 IIS 7.5 machine I get the following error:[详细]
2023-04-07 17:59 分类:问答FindByIdentity - performance differences
The following code works fine from a variety of machines on our domain. var context = new PrincipalContext(ContextType.Domain);[详细]
2023-04-07 07:18 分类:问答How to Use System.DirectoryServices to Access a Web Server on a Different Domain
I am trying to write a simple program to list the virtual directories of an IIS server, which is on a different domain than my local machine.When creating the root DirectoryEntry object, I tried to pa[详细]
2023-04-06 04:27 分类:问答Hosting environment.impersonate is not woking with System.DirectoryServices.AccountManagement on the server
Hi I want to retrieve the groups belonging to logged in user I tried following code but it is not working on the server.[详细]
2023-04-05 07:54 分类:问答Updating Name Field on UserPrincipal
When I try to update the Name field (corresponds to the CN) on UserPrincipal (Principal, really), I get an er开发者_StackOverflow中文版ror \"The server is unwilling to process the request\" on the cal[详细]
2023-04-04 11:33 分类:问答Problem while accessing active directory using C# DirectoryServices
string ldapPath = \"ldap://db.debian.org:389/uid=ma,ou=users,dc=debian,dc=org\"; DirectoryEntry dEntry = new DirectoryEntry(ldapPath, null, null, AuthenticationTypes.Anonymous);[详细]
2023-04-04 06:53 分类:问答System.DirectoryServices compilation problems
I\'m using the code here : ASP.NET How to get List of Groups in Active Directory Specifically : using System.DirectoryServices;[详细]
2023-04-02 18:28 分类:问答