Click here to Skip to main content
15,891,136 members
Home / Discussions / C#
   

C#

 
AnswerRe: Animation Control in C#? Pin
Khang Nguyen5-Sep-03 13:44
Khang Nguyen5-Sep-03 13:44 
Questionrunning c# program on Linux? Pin
Asim N.5-Sep-03 9:52
Asim N.5-Sep-03 9:52 
AnswerRe: running c# program on Linux? Pin
leppie5-Sep-03 10:07
leppie5-Sep-03 10:07 
GeneralMDI problem Pin
r95-Sep-03 9:47
r95-Sep-03 9:47 
GeneralRe: MDI problem Pin
Ray Cassick5-Sep-03 11:52
Ray Cassick5-Sep-03 11:52 
GeneralRe: MDI problem Pin
Anonymous5-Sep-03 13:23
Anonymous5-Sep-03 13:23 
GeneralRe: MDI problem Pin
sumeat10-Sep-03 13:16
sumeat10-Sep-03 13:16 
GeneralDirectory Services .. LDAP Pin
sulmun5-Sep-03 9:06
sulmun5-Sep-03 9:06 
To get the user from directory service the below code works perfectly fine.
But i want to access files in the user name ou=myname. I have place a text file name note.txt in myname writeing this addres in explorer

ftp://.admin.myname.user.novell@nldap.com/USER/myname/

all i want to know how to access the files. How can i get the files which i have uploaded on myname..... so i can modify n delete them also.
i have got the help to add user modify user n delte user but not abot the files of users ...



string path = "LDAP://www.nldap.com";
System.DirectoryServices.DirectoryEntry entry = new .DirectoryServices.DirectoryEntry(path);

System.DirectoryServices.DirectorySearcher mySearcher = new

System.DirectoryServices.DirectorySearcher(entry);
mySearcher.Filter = ("(ou=myname )");
SearchResult result = mySearcher.FindOne() ;

if( result != null )
{
Console.WriteLine("User found");
foreach( string key in result.Properties.PropertyNames )
{
// Each property contains a collection of its own
// that may contain multiple values
foreach( Object propValue in result.Properties[key] )
{

Console.WriteLine(key + " = " + propValue);
}
}
}
else
{
Console.WriteLine("User not found");
}
GeneralPlease Wait page while search executes Pin
clayne5-Sep-03 8:38
clayne5-Sep-03 8:38 
GeneralRe: Please Wait page while search executes Pin
GISnet5-Sep-03 9:23
GISnet5-Sep-03 9:23 
GeneralTreeView + ContextMenu focus issue Pin
efalcao5-Sep-03 8:15
efalcao5-Sep-03 8:15 
GeneralRe: TreeView + ContextMenu focus issue Pin
leppie5-Sep-03 9:54
leppie5-Sep-03 9:54 
GeneralRe: TreeView + ContextMenu focus issue Pin
efalcao5-Sep-03 12:23
efalcao5-Sep-03 12:23 
Questionc# no concept of scope ? Pin
jpribele5-Sep-03 7:58
jpribele5-Sep-03 7:58 
AnswerRe: c# no concept of scope ? Pin
Roger Stewart5-Sep-03 9:10
professionalRoger Stewart5-Sep-03 9:10 
GeneralRe: c# no concept of scope ? Pin
jpribele5-Sep-03 9:16
jpribele5-Sep-03 9:16 
AnswerRe: c# no concept of scope ? Pin
leppie5-Sep-03 9:49
leppie5-Sep-03 9:49 
AnswerRe: c# no concept of scope ? Pin
scadaguy5-Sep-03 9:58
scadaguy5-Sep-03 9:58 
GeneralRe: c# no concept of scope ? Pin
jpribele5-Sep-03 10:10
jpribele5-Sep-03 10:10 
GeneralRe: c# no concept of scope ? Pin
leppie5-Sep-03 22:17
leppie5-Sep-03 22:17 
GeneralRe: c# no concept of scope ? Pin
jpribele8-Sep-03 3:09
jpribele8-Sep-03 3:09 
GeneralRe: c# no concept of scope ? Pin
leppie8-Sep-03 8:25
leppie8-Sep-03 8:25 
GeneralRe: c# no concept of scope ? Pin
scadaguy8-Sep-03 3:28
scadaguy8-Sep-03 3:28 
AnswerRe: c# no concept of scope ? Pin
Rich3335-Sep-03 22:58
sussRich3335-Sep-03 22:58 
GeneralCreate DataTable from XML Schema Pin
Douglas Troy5-Sep-03 7:33
Douglas Troy5-Sep-03 7:33 

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.