Click here to Skip to main content
15,886,963 members
Home / Discussions / C#
   

C#

 
GeneralRe: Regex question Pin
Bog18-Nov-02 14:52
Bog18-Nov-02 14:52 
GeneralCodeProject reformatted me Pin
Bog18-Nov-02 14:53
Bog18-Nov-02 14:53 
GeneralAAAAARRGH Pin
Bog18-Nov-02 14:55
Bog18-Nov-02 14:55 
GeneralRe: AAAAARRGH Pin
leppie19-Nov-02 11:19
leppie19-Nov-02 11:19 
GeneralAccessing menu items from UserControl Pin
Paul Silvernail17-Nov-02 4:46
Paul Silvernail17-Nov-02 4:46 
GeneralRe: Accessing menu items from UserControl Pin
djkno317-Nov-02 5:14
djkno317-Nov-02 5:14 
GeneralDirectoryEntry Pin
Mazdak17-Nov-02 3:15
Mazdak17-Nov-02 3:15 
GeneralRe: DirectoryEntry Pin
leppie17-Nov-02 7:11
leppie17-Nov-02 7:11 
Mazdak wrote:
want to use DirectoryEntry class for my IIS.Both I have a problem in giving connection string to it.

In msdn said:

"LDAP://" or "IIS://" + path

But I don't know which pah I should give.Any suggestion?


Quoted from MSDN:

The Path property uniquely identifies this entry in a networked environment. This entry can always be retrieved using this Path.

Setting the Path retrieves a new entry from the directory store; it does not change the path of the currently bound entry.

The classes associated with the DirectoryEntry component can be used with any of the Active Directory service providers. Some of the current providers are Internet Information Services (IIS), Lightweight Directory Access Protocol (LDAP), Novell NetWare Directory Service (NDS), and WinNT.

Note The portion of the Path that identifies the provider (precedes "://") is case sensitive. For example, "LDAP://" or "WinNT://".
The syntax for the Path property varies according to the provider. Some common scenarios are:

WinNT

Connect to a group on a computer. For example, "WinNT:// domain/ computer/ group ". If you are connecting to a local computer, "WinNT:// computer/ group ".
Connect to a user on a computer. For example, "WinNT:// domain/ computer/ user ". If you are connecting to a local computer, "WinNT:// computer/ user ".
Connect to services on a computer. For example, "WinNT:// domain/ computer/ service ". If you are connecting to a local computer, "WinNT:// computer/ service ".
Discover all domains on the network. For example, "WinNT:". The domains can be found by enumerating the children of this entry.

LDAP

Connect to a group in a domain. For example, "LDAP://CN= group-name, CN=Users, DC= domain-controller1, DC= domain-controller2,... ".
Connect to a user in a domain. For example, "LDAP://CN= full-user-name, CN=Users, DC= domain-controller1, DC= domain-controller2,...".
Connect to computers in a domain. For example, "LDAP://CN= computer-name, CN=Computers, DC= domain-controller1, DC= domain-controller2,...".

IIS

Connect to a Web directory. For example, "IIS://LocalHost/W3SVC/1/ROOT/ web-directory-name ".


"I dont have a life, I have a program." Also, I won't support any software without the LeppieRules variable.
GeneralRe: DirectoryEntry Pin
Mazdak17-Nov-02 8:05
Mazdak17-Nov-02 8:05 
GeneralSystem.Messaging missing ??!!! Pin
Pilgrim16-Nov-02 20:33
Pilgrim16-Nov-02 20:33 
GeneralRe: System.Messaging missing ??!!! Pin
James T. Johnson16-Nov-02 20:49
James T. Johnson16-Nov-02 20:49 
GeneralRe: System.Messaging missing ??!!! Pin
Vasudevan Deepak Kumar17-Nov-02 23:28
Vasudevan Deepak Kumar17-Nov-02 23:28 
GeneralViews in C# Pin
Paul Silvernail16-Nov-02 17:25
Paul Silvernail16-Nov-02 17:25 
GeneralRe: Views in C# Pin
SimonS16-Nov-02 19:32
SimonS16-Nov-02 19:32 
GeneralRe: Views in C# Pin
Paul Silvernail17-Nov-02 2:45
Paul Silvernail17-Nov-02 2:45 
GeneralRe: Views in C# Pin
James T. Johnson16-Nov-02 20:56
James T. Johnson16-Nov-02 20:56 
GeneralRe: Views in C# Pin
Paul Silvernail17-Nov-02 2:50
Paul Silvernail17-Nov-02 2:50 
GeneralTwo Thread Accessing Same File At The Same Time Pin
yccheok16-Nov-02 16:50
yccheok16-Nov-02 16:50 
GeneralRe: Two Thread Accessing Same File At The Same Time Pin
leppie16-Nov-02 21:48
leppie16-Nov-02 21:48 
GeneralRe: Two Thread Accessing Same File At The Same Time Pin
yccheok17-Nov-02 16:11
yccheok17-Nov-02 16:11 
GeneralRe: Two Thread Accessing Same File At The Same Time Pin
Le centriste17-Nov-02 18:13
Le centriste17-Nov-02 18:13 
Question.NET grid control? Pin
Domenic Denicola16-Nov-02 15:10
Domenic Denicola16-Nov-02 15:10 
AnswerRe: .NET grid control? Pin
James T. Johnson16-Nov-02 16:29
James T. Johnson16-Nov-02 16:29 
GeneralRe: .NET grid control? Pin
Domenic Denicola16-Nov-02 16:35
Domenic Denicola16-Nov-02 16:35 
GeneralRe: .NET grid control? Pin
James T. Johnson16-Nov-02 17:47
James T. Johnson16-Nov-02 17:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.