Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 87 results for
directorysearcher
- Page 1
try to access Active Directory in .NET -->system.runtime.interopservices.comexception
Programming
Software Development
19 Years Ago
by SpiXener
…", "test", AuthenticationTypes.Secure) Dim oSearcher As
DirectorySearcher
= New
DirectorySearcher
(oRoot) Dim oResult As SearchResult Try 'it bugz at this…
Error Querying LDAP
Programming
Software Development
17 Years Ago
by bala24
…=#0000ff]Dim[/COLOR] Search [COLOR=#0000ff]As[/COLOR]
DirectorySearcher
= [COLOR=#0000ff]New[/COLOR]
DirectorySearcher
(Entry) Search.Filter = "(micid=" & strUID…
LDAP authentication
Programming
Software Development
16 Years Ago
by t_yalthis
…=university.edu",username,password,AuthenticationTypes.SecureSocketsLayer); try { using (
DirectorySearcher
search = new
DirectorySearcher
(dir)) { search.ServerTimeLimit = new TimeSpan(0, 0, 5); search…
list all security groups in active directory
Programming
Software Development
14 Years Ago
by ninjaimp
…("LDAP://DC=domain,DC=org")) Dim mySearcher As
DirectorySearcher
= New
DirectorySearcher
(myDirectoryEntry) Dim mySort As SortOption = New SortOption("sn…
Active Directory - Retrieving Password Expiration Date
Programming
Software Development
14 Years Ago
by sanch01r
…() { DirectoryEntry root = new DirectoryEntry(LDAP_DOMAIN, LDAP_UID, LDAP_PWD, AuthenticationTypes.Secure);;
DirectorySearcher
searcher = new
DirectorySearcher
(root); searcher.Filter = "(&(objectClass=person)(" + SearchType…
directorysearch finding null value
Programming
Software Development
14 Years Ago
by stevetaylor15
…! [CODE] DirectoryEntry entry = new DirectoryEntry("LDAP://" + dom);
DirectorySearcher
mySearcher = new
DirectorySearcher
(entry); mySearcher.PropertiesToLoad.Add("msExchHomeServerName"); mySearcher.Filter…
LDAP Server Access
Programming
Web Development
14 Years Ago
by sanbal
…;memberOf"]; DirectoryEntry entry = new DirectoryEntry(LDAPpath, domainAndUsername, LDAPPassword);
DirectorySearcher
search = new
DirectorySearcher
(entry); string filterCriteria = string.Empty; filterCriteria = filterCriteria + "("…
Active Directory Search Filter Syntax Help
Programming
Software Development
13 Years Ago
by AlBars
… group = "share_IT"; DirectoryEntry de = GetDirectoryObject(); SearchResult result;
DirectorySearcher
search = new
DirectorySearcher
(); search.Filter = String.Format("(cn={0})", group…
Error
Programming
Web Development
13 Years Ago
by ajmeer
…("LDAP://" + Environment.MachineName,null, null, AuthenticationTypes.Secure);
DirectorySearcher
searcher = new
DirectorySearcher
(adRoot); searcher.SearchScope = SearchScope.Subtree; searcher.ReferralChasing = ReferralChasingOption.All…
Sample :ldap, active directory Get user info...
Programming
Software Development
13 Years Ago
by delcatto
…;/AS_User.csv" Dim mySearcher As System.DirectoryServices.
DirectorySearcher
= New System.DirectoryServices.
DirectorySearcher
(enTry) Dim resEnt As System.DirectoryServices.SearchResult mySearcher.Filter…
Login with AD Authentication
Programming
Software Development
12 Years Ago
by Arjun_Sarankulu
… DirectoryEntry(_path, s, pwd); try { object obj = entry.NativeObject;
DirectorySearcher
searcher = new
DirectorySearcher
(entry); searcher.Filter = "(SAMAccountName=" + username + ")"…
How to get list of users from AD Group?
Programming
Web Development
12 Years Ago
by vinothrao84
…, but not success. Below is my simple code. [CODE]
DirectorySearcher
ds = new
DirectorySearcher
(""); ds.SearchRoot = new DirectoryEntry("LDAP://myserver…
Active Directory with C#
Programming
Software Development
12 Years Ago
by nmohammed
…;Lucy"; DirectoryEntry entry = new DirectoryEntry("//DomainName");
DirectorySearcher
dsearch = new
DirectorySearcher
(entry); dsearch.Filter = "(&(objectClass=user)(l="…
Index was out of range C#
Programming
Software Development
12 Years Ago
by VasquezPL
… = "LDAP://" + domain; DirectoryEntry entry = new DirectoryEntry(connectionPrefix);
DirectorySearcher
search = new
DirectorySearcher
(entry); if (groupuser == "group" && textBox1…
C# AD - Strange problem when listing members of one group
Programming
Software Development
12 Years Ago
by VasquezPL
… true: [CODE] String listGroupUsers(string Name) { try { SearchResult result;
DirectorySearcher
search = new
DirectorySearcher
(); search.Filter = String.Format("(cn={0})", Name…
Retrieving Data from Active Directory Problem
Programming
Software Development
12 Years Ago
by maydhyam
…Dim dirEntry, de As DirectoryEntry Dim dirSearcher As
DirectorySearcher
Dim sr As SearchResult dirEntry = New System.…("LDAP://company.com") dirSearcher = New System.DirectoryServices.
DirectorySearcher
(dirEntry) dirSearcher.Filter = "(employeeID = " &…
Re: Active Directory Search Filter Syntax Help
Programming
Software Development
11 Years Ago
by paulreg
… string getLoginName(string fullName) { string loginName=string.Empty; try {
DirectorySearcher
dsLogin = new
DirectorySearcher
(); dsLogin.Filter = "displayname=" + fullName; SearchResult result = dsLogin…
Re: Active Directory Search Filter Syntax Help
Programming
Software Development
12 Years Ago
by piyush.agrawal
Try this: [CODE]Dim GroupSearcher As New
DirectorySearcher
'Change the OU path, domain and domain admin details Dim …
IIS 7,VS 2008,Windows Server 2008...
Hardware and Software
Microsoft Windows
13 Years Ago
by SiahCheePing
…; & Domain, Username, Password) Dim Searcher As New System.DirectoryServices.
DirectorySearcher
(Entry) Searcher.SearchScope = DirectoryServices.SearchScope.OneLevel 'Try ' Dim Results As…
Problem with getting lastlogon for account - C#.NET / AD
Programming
Software Development
13 Years Ago
by VasquezPL
… dcc = DomainController.FindAll(context); foreach (DomainController dc in dcc) {
DirectorySearcher
ds; using (dc) using (ds = dc.GetDirectorySearcher()) { ds.Filter…
how do i get the group manager's mail address from the active directory
Programming
Software Development
12 Years Ago
by noamwegner
… drtEnt = new DirectoryEntry("LDPA=//DC=domain,DC=mil");
DirectorySearcher
ds = new DirectedorySearcher(drtEnt, "sAMAccountName" + groupname); ds.PropertiesToLoad…
Powershell - Last logon script with multiple filters
Programming
Software Development
11 Years Ago
by jason.lopeman
… = [ADSI]"LDAP://$D" $Searcher = New-Object System.DirectoryServices.
DirectorySearcher
$Searcher.PageSize = 200 $Searcher.SearchScope = "subtree" $Searcher.Filter…
Listing members of Nested AD groups
Programming
Software Development
11 Years Ago
by adamwilden
…. Sub ListMembers(ByVal GRP As String) Dim GroupSearcher As New
DirectorySearcher
Dim GroupSearchRoot As New DirectoryEntry(ldapserver, vusername, vpassword) GroupSearcher.SearchRoot…
How to skip domain controller which is not availabe? last logon time.
Programming
Software Development
10 Years Ago
by VasquezPL
….FindAll(context); foreach (DomainController dc in dcc) {
DirectorySearcher
ds; using (dc) using (ds = dc.GetDirectorySearcher()) { ds…
c# Directory Services Synchronization does not return changed relationships
Programming
Software Development
9 Years Ago
by igalbk
… de, byte[] cookie) { DirectorySynchronization syncData = new DirectorySynchronization(cookie); srch = new
DirectorySearcher
(de) { Filter = "(&(objectClass=user)(objectCategory=person))", SizeLimit…
Re: Active Directory, Anyone!
Programming
Software Development
13 Years Ago
by Teme64
…]and "translated" to C# [CODE=C#]
DirectorySearcher
oSearcher; oSearcher = new
DirectorySearcher
(); oSearcher.SearchRoot = new DirectoryEntry("LDAP://CN=users,DC…="http://msdn.microsoft.com/en-us/library/system.directoryservices.
directorysearcher
%28v=VS.80%29.aspx"]documentation of the…
Re: Active Directory, Anyone!
Programming
Software Development
13 Years Ago
by Teme64
… code so I assume you're using
DirectorySearcher
[CODE=C#]private
DirectorySearcher
_Searcher; _Searcher = new
DirectorySearcher
(); _Searcher.CacheResults = false; // Set the rest of…
Re: How to Read System Domains in C#?
Programming
Software Development
15 Years Ago
by dickersonka
… = new ArrayList(); DirectoryEntry dirEntry = new DirectoryEntry("LDAP://");
DirectorySearcher
dirSearcher = new
DirectorySearcher
("objectCategory=Domain"); SearchResultCollection coll = srch.FindAll(); foreach…
Re: Getting AD fields...
Programming
Software Development
14 Years Ago
by mypicturefaded
…;; DirectoryEntry entry = new DirectoryEntry("LDAP://DC=Domain");
DirectorySearcher
mySearcher = new
DirectorySearcher
(entry); mySearcher.Filter = "(&(objectClass=user)(anr="…
Re: User name and password for DirectoryEntry
Programming
Software Development
14 Years Ago
by sanch01r
You can create your new DirectoryEntry object on the fly and pass it to the search object. [code]
DirectorySearcher
search = new
DirectorySearcher
(new DirectoryEntry("LDAP://servername.net", "administrator", "password123$")); [/code]
1
2
3
Next
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC