active-directory
Query for "ACTIVE" users in LDAP server NOT working
I need to be able to get via querying the active directory using the LDAP server a list of defined ACTIVE users from the active directory.[详细]
2023-04-13 08:48 分类:问答how do i create new OU in Active Directory using DirectoryServices.AccountManagement in .net 3.5 or 4
to create & find users & groups in Active Directory i\'ve been using this code: http://anyrest.word开发者_如何学Cpress.com/2010/06/28/active-directory-c/[详细]
2023-04-13 07:17 分类:问答How to get the groups of a user in Active Directory?
I use from this code: List<GroupPrincipal> result = new List<GroupPrincipal>(); // establish domain context[详细]
2023-04-12 17:49 分类:问答Why does DirectoryServicesCOMException occur querying Active Directory from a machine other than the web server?
My ASP.NET WebForms app running on IIS 7.5 works fine when the request comes from the web server but throws the following error when the same dom开发者_C百科ain user requests the same page from any ot[详细]
2023-04-12 17:14 分类:问答AD authentication using Unicode
Just implemented AD Authentication in C# using: DirectoryEntry entry = new DirectoryEntry(_path, domainAndUsername, pwd, AuthenticationTypes.Secure);[详细]
2023-04-12 08:28 分类:问答How to close a connection using PrincipalContext to a remote host?
When I execute this code, PrincipalContext oPrincipalContext = new PrincipalContext( ContextType.Machine,[详细]
2023-04-12 05:05 分类:问答Can PrincipalContext be used to get Active Directory information if computer is not domained joined
I am using PrincipalContext.I am receiving \"The LDAP server is unavailable.\"\"Cannot be reached\".I am developing from a machine that is not joined to the domain I want to query.Does开发者_如何学Go[详细]
2023-04-12 02:00 分类:问答Are there better (easier) ways to get a specific domain's SID?
I\'ve been assigned to modify a WinForms application to basically check that the logged on user belongs to a specific domain.[详细]
2023-04-12 00:22 分类:问答How to programmatically add UPN Suffix in Active Directory Domains and Trusts in .NET?
I think the Question title basically s开发者_JAVA百科ums it up.Manually, I would open Active Directory Domains and Trusts, right click on top node in Explorer tree, and add domain UPN suffix.Sure. You[详细]
2023-04-11 20:16 分类:问答Change an Active Directory password [duplicate]
This question already has answers here: How to programmatically change Active Directory password (6 answers)[详细]
2023-04-11 17:59 分类:问答