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

C#

 
QuestionRe: Restore .bak file through C# Coding in sql server Pin
Md. Marufuzzaman21-Dec-09 2:50
professionalMd. Marufuzzaman21-Dec-09 2:50 
AnswerRe: Restore .bak file through C# Coding in sql server Pin
NarendraSinghJTV21-Dec-09 16:43
NarendraSinghJTV21-Dec-09 16:43 
GeneralRe: Restore .bak file through C# Coding in sql server Pin
Md. Marufuzzaman21-Dec-09 17:26
professionalMd. Marufuzzaman21-Dec-09 17:26 
GeneralRe: Restore .bak file through C# Coding in sql server Pin
NarendraSinghJTV21-Dec-09 20:04
NarendraSinghJTV21-Dec-09 20:04 
QuestionHow to Access the registered users to login a page [modified] Pin
Shyloo20-Dec-09 19:56
Shyloo20-Dec-09 19:56 
AnswerRe: How to Access the registered users to login a page Pin
Ashfield21-Dec-09 1:19
Ashfield21-Dec-09 1:19 
QuestionHow commands "AT Command" SIM card will be charged. Pin
Ir-win ChakadCo20-Dec-09 19:55
Ir-win ChakadCo20-Dec-09 19:55 
QuestionActive Directory code Pin
Dharmarajan20-Dec-09 19:27
Dharmarajan20-Dec-09 19:27 
Hi,

This the code i wrote to extract all the users details of an organization across domain

System.DirectoryServices.DirectorySearcher mySearcher = new System.DirectoryServices.DirectorySearcher("gc://dc=xxxdomain,dc=net");
mySearcher.Filter = ("(objectCategory=person)");
mySearcher.PageSize = int.MaxValue;
Console.WriteLine("Listing of users in the Active Directory");
Console.WriteLine("========================================");

using (var searchResultCollection = mySearcher.FindAll())
{
foreach (System.DirectoryServices.SearchResult searchResult in searchResultCollection)
{
foreach (string prop in searchResult.Properties["distinguishedname"])
{
Console.WriteLine("distinguishedname : " + prop.Trim());
break;
}
}
}


I got some output that only fetches the data for a domain where the user resides and not the complete data. Can anyone help me on this what went wrong in the code?
Questioncan not open new form problem? Pin
miss YY20-Dec-09 19:21
miss YY20-Dec-09 19:21 
AnswerRe: can not open new form problem? Pin
Saksida Bojan20-Dec-09 19:44
Saksida Bojan20-Dec-09 19:44 
GeneralRe: can not open new form problem? Pin
miss YY20-Dec-09 20:33
miss YY20-Dec-09 20:33 
GeneralRe: can not open new form problem? Pin
Ravi Bhavnani20-Dec-09 20:44
professionalRavi Bhavnani20-Dec-09 20:44 
Questionprinting the slip Pin
Thaer Hamael20-Dec-09 19:19
Thaer Hamael20-Dec-09 19:19 
AnswerRe: printing the slip Pin
Ravi Bhavnani20-Dec-09 20:47
professionalRavi Bhavnani20-Dec-09 20:47 
Questionreport viewer problem Pin
ali- kanju220-Dec-09 18:21
ali- kanju220-Dec-09 18:21 
AnswerRe: report viewer problem Pin
NarendraSinghJTV20-Dec-09 20:18
NarendraSinghJTV20-Dec-09 20:18 
QuestionAdvantages in 32-bit Windows 7 -vs- 64-bit Windows 7 for Azure development Pin
stringtheory_x20-Dec-09 16:48
stringtheory_x20-Dec-09 16:48 
AnswerRe: Advantages in 32-bit Windows 7 -vs- 64-bit Windows 7 for Azure development Pin
Saksida Bojan20-Dec-09 18:30
Saksida Bojan20-Dec-09 18:30 
QuestionClearing of database. Pin
codenoobie20-Dec-09 15:34
codenoobie20-Dec-09 15:34 
AnswerRe: Clearing of database. Pin
Rod Kemp20-Dec-09 16:13
Rod Kemp20-Dec-09 16:13 
GeneralRe: Clearing of database. Pin
codenoobie20-Dec-09 22:18
codenoobie20-Dec-09 22:18 
GeneralRe: Clearing of database. Pin
Rod Kemp21-Dec-09 0:54
Rod Kemp21-Dec-09 0:54 
GeneralRe: Clearing of database. Pin
codenoobie2-Jan-10 15:25
codenoobie2-Jan-10 15:25 
Questiondisplay (render) html in forms Pin
Jayapal Chandran20-Dec-09 7:47
Jayapal Chandran20-Dec-09 7:47 
AnswerRe: display (render) html in forms Pin
o m n i20-Dec-09 8:12
o m n i20-Dec-09 8:12 

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.