Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 151 results for
directoryentry
- Page 1
is domain required in username for DirectoryEntry
Programming
Software Development
12 Years Ago
by scranton
DirectoryEntry
(path, username, password) does username have to be in the format "domain\username" or can it be just "username"? what happens if you dont supply a domain?
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]
User name and password for DirectoryEntry
Programming
Software Development
18 Years Ago
by shukuo
Hi. I am using
DirectoryEntry
(string, string, string) to connect to Active Directory. The user name I used is in LDAP format. password is provided by AD team. May someone tells me what's the format for user name and password. thanks.
Help with java project
Programming
Software Development
15 Years Ago
by zangster421k
…list.indexOf(new
DirectoryEntry
(name, "")); if (index > -1) {
DirectoryEntry
entry = (
DirectoryEntry
)(list.set(index, new
DirectoryEntry
(name, number…oldNumber = entry.getNumber(); } // end if else { list.add(new
DirectoryEntry
(name, number)); } // end else modified = true; return oldNumber; …
Error
Programming
Web Development
13 Years Ago
by ajmeer
…(properties); searcher.Filter = filter; SearchResult result = searcher.FindOne();
DirectoryEntry
directoryEntry
= result.GetDirectoryEntry(); string displayName =
directoryEntry
.Properties["displayName"][0].ToString(); string firstName…
windows server local users managment c#
Programming
Software Development
14 Years Ago
by adam2009
…("Creating user {0} ", userName);
DirectoryEntry
AD = new
DirectoryEntry
("WinNT://" + Environment.MachineName + "…computer", Environment.MachineName); using (
DirectoryEntry
dirEntry = new
DirectoryEntry
(path)) {
DirectoryEntry
groupEntry = dirEntry.Children.Find("…
Group Deletion In Active Directory (C# .NET)
Programming
Software Development
12 Years Ago
by VasquezPL
…("LDAP://" + groupPath)) { try {
DirectoryEntry
entry = new
DirectoryEntry
("LDAP://" + ouPath);
DirectoryEntry
group = new
DirectoryEntry
("LDAP://" + groupPath); entry.Children.Remove…
Re: Group Deletion In Active Directory (C# .NET)
Programming
Software Development
12 Years Ago
by polczym
…("LDAP://" + groupPath)) { try {
DirectoryEntry
entry = new
DirectoryEntry
("LDAP://" + ouPath);
DirectoryEntry
group = new
DirectoryEntry
("LDAP://" + groupPath); entry.Children.Remove…
Problem with creating groups in AD C#
Programming
Software Development
11 Years Ago
by VasquezPL
… = 0x04, GlobalGrp = 0x02, SecurityGrp = 0x80000000 }
DirectoryEntry
ent = new
DirectoryEntry
("LDAP://RootDSE"); String str = (String)ent.Properties…["defaultNamingContext"][0]; deAD = new
DirectoryEntry
("LDAP://" + str); GrpType gt = GrpType…
Listing members of Nested AD groups
Programming
Software Development
11 Years Ago
by adamwilden
…GroupSearcher As New DirectorySearcher Dim GroupSearchRoot As New
DirectoryEntry
(ldapserver, vusername, vpassword) GroupSearcher.SearchRoot = … Result = GroupSearcher.FindOne GroupSearchRoot = New
DirectoryEntry
(Result.Path) Call GetGroupMembers(GroupSearchRoot) End Sub…
given path's format is not supported -virtual directory problem-
Programming
Web Development
15 Years Ago
by mkn07
…); formsBarSubItem.AddItem(baritem); } }[/code]
DirectoryEntry
dataDir = new
DirectoryEntry
("IIS://localhost/w3svc/root/1/Data/");
DirectoryEntry
dataDir = new
DirectoryEntry
("IIS://localhost/w3svc…
Active Directory
Programming
Web Development
14 Years Ago
by casmir.dominic
…'the file Dim AD As New DirectoryServices.
DirectoryEntry
AD = New DirectoryServices.
DirectoryEntry
("WinNT://" + Environment.MachineName + …",computer") Dim objUser As System.DirectoryServices.
DirectoryEntry
= Nothing Try 'checking whether the account is already …
Need Help Managing IIS 6.0 Programmatically VB.Net
Programming
Web Development
13 Years Ago
by wesley.groves
…As String) As Integer Dim w3svc As
DirectoryEntry
w3svc = New
DirectoryEntry
("IIS://localhost/w3svc") 'Create …created website websiteId.ToString() 'Dim website As New
DirectoryEntry
(w3svc) 'website.InvokeSet("AnonymousUserName", &…
Trouble managing IIS 6.0 programmatically VB.NET
Programming
Software Development
13 Years Ago
by wesley.groves
…homeDirectory As String) As Integer Dim w3svc As
DirectoryEntry
w3svc = New
DirectoryEntry
("IIS://localhost/w3svc") 'Create a …newly created website websiteId.ToString() 'Dim website As New
DirectoryEntry
(w3svc) 'website.InvokeSet("AnonymousUserName", "domain…
Sample :ldap, active directory Get user info...
Programming
Software Development
13 Years Ago
by delcatto
…'CONNECT 'with Authentication 'Public enTry As System.DirectoryServices.
DirectoryEntry
= New DirectoryServices.
DirectoryEntry
("LDAP://YOURSERVER", "USER", …no Authentication Public enTry As System.DirectoryServices.
DirectoryEntry
= New System.DirectoryServices.
DirectoryEntry
("LDAP://YOURSERVER") Sub GETUSERS()…
Active Directory
Programming
Software Development
11 Years Ago
by dduminda
…, string strADUsrname, string strUserGroupName) {
DirectoryEntry
de = new
DirectoryEntry
(); de.Path = "LDAP://DC… IsUserGroupMeber(string strADUsrname, string strUserGroup) {
DirectoryEntry
de = new
DirectoryEntry
(); de.Path = "LDAP://DC=lk…
Re: Listing members of Nested AD groups
Programming
Software Development
11 Years Ago
by adamwilden
…the function to: Function GetGroupMembers(ByVal Entry As
DirectoryEntry
) As String Dim groupMembers() As String Dim adObject …quot;members", Nothing), System.Collections.IEnumerable) adObject = New
DirectoryEntry
(member) If adObject.SchemaClassName.ToString = "group" …
Re: Listing members of Nested AD groups
Programming
Software Development
11 Years Ago
by adamwilden
… a sub... Sub GetGroupMembers(ByVal Entry As
DirectoryEntry
) Dim adObject As
DirectoryEntry
Dim vmail As String = "No …;members", Nothing), System.Collections.IEnumerable) adObject = New
DirectoryEntry
(member) If adObject.SchemaClassName.ToString = "group" …
try to access Active Directory in .NET -->system.runtime.interopservices.comexception
Programming
Software Development
19 Years Ago
by SpiXener
… message, but fixed it in putting more parameters into the
DirectoryEntry
creation string. But now, I always get a "A… me.. Any Idea?!?? Here's the source: =================================================== Dim oRoot As
DirectoryEntry
= New
DirectoryEntry
("LDAP://" & Me.mServer & ":389…
Error in Web Setup Project while using Installer Class and Custom Actions
Programming
Web Development
15 Years Ago
by vuyiswamb
…Friendly Site Name" from IIS for TargetSite
DirectoryEntry
entry = new
DirectoryEntry
("IIS://LocalHost/" + targetSite); string …ConnectionTimeout"][0] = 1800; entry.CommitChanges(); entry = new
DirectoryEntry
("IIS://LocalHost/" + targetSite + "/ROOT/" …
directorysearch finding null value
Programming
Software Development
14 Years Ago
by stevetaylor15
…would be appreciated thank you very much! [CODE]
DirectoryEntry
entry = new
DirectoryEntry
("LDAP://" + dom); DirectorySearcher mySearcher =…+ "))"; foreach (SearchResult resEnt in mySearcher.FindAll()) {
DirectoryEntry
de = resEnt.GetDirectoryEntry(); string msExchHomeServerName = de.Properties["msExchHomeServerName…
Re: how do i get the group manager's mail address from the active directory
Programming
Software Development
12 Years Ago
by piyush.agrawal
… [CODE]''' <param name="de">
DirectoryEntry
to use</param> ''' <param name…param> Public Shared Sub SetADProperty(ByVal de As
DirectoryEntry
, _ ByVal pName As String, ByVal pValue As String… Is Nothing Then 'Check to see if the
DirectoryEntry
contains this property already If de.Properties.Contains(pName…
host header on iis programmatically
Programming
Software Development
18 Years Ago
by mona
… code to add host header on that site during creation :
DirectoryEntry
site = (
DirectoryEntry
)objIISRoot.Invoke("Create", "IIsWebServer", siteID…
add host header on iis programmatically
Programming
Software Development
18 Years Ago
by mona
… code to add host header on that site during creation :
DirectoryEntry
site = (
DirectoryEntry
)objIISRoot.Invoke("Create", "IIsWebServer", siteID…
Error Querying LDAP
Programming
Software Development
17 Years Ago
by bala24
…] Entry [COLOR=#0000ff]As[/COLOR] System.DirectoryServices.
DirectoryEntry
Entry = [COLOR=#0000ff]New[/COLOR]
DirectoryEntry
[URL]ldap://myserver:401/ou=people,o=org…
Re: Error Querying LDAP
Programming
Software Development
17 Years Ago
by asciberras
… a problem: [quote=bala24;326522] Entry = [COLOR=#0000ff]New[/COLOR]
DirectoryEntry
[URL]ldap://myserver:401/ou=people,o=org[/URL], "… guess that your code actually includes the '(' character between "
DirectoryEntry
" and "ldap...". The LDAP URL that you…
LDAP authentication
Programming
Software Development
16 Years Ago
by t_yalthis
… operational". public bool IsAuthenticated(string username, string password) {
DirectoryEntry
dir = new
DirectoryEntry
("LDAP://servername/ou=People,o=university.edu"…
Re: LDAP authentication
Programming
Software Development
16 Years Ago
by t_yalthis
… and here is the unseen part of the code.
DirectoryEntry
dir = new
DirectoryEntry
("LDAP://servername/ou=People,o=university.edu"…
given path's format is not supported -virtual directory problem-
Programming
Software Development
15 Years Ago
by mkn07
…; barManager.Items.Add(baritem); formsBarSubItem.AddItem(baritem); } } [/CODE] [CODE]
DirectoryEntry
dataDir = new
DirectoryEntry
("IIS://localhost/w3svc/root/1/Data/");[/CODE…
list all security groups in active directory
Programming
Software Development
14 Years Ago
by ninjaimp
… from active directory with this: [CODE] Dim myDirectoryEntry As
DirectoryEntry
= New
DirectoryEntry
(String.Format("LDAP://DC=domain,DC=org")) Dim…
1
2
3
Next
Last
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