Click here to Skip to main content
15,920,030 members
Home / Discussions / C#
   

C#

 
GeneralRe: namespace 'Windows' does not exist Pin
Steve Harp11-Jan-08 7:00
Steve Harp11-Jan-08 7:00 
GeneralProblem to DataTable.Rows.Remove(DataRow row) method. Pin
hdv21211-Jan-08 4:02
hdv21211-Jan-08 4:02 
GeneralRe: Problem to DataTable.Rows.Remove(DataRow row) method. Pin
Dave Kreskowiak11-Jan-08 4:34
mveDave Kreskowiak11-Jan-08 4:34 
GeneralRe: Problem to DataTable.Rows.Remove(DataRow row) method. Pin
hdv21211-Jan-08 5:38
hdv21211-Jan-08 5:38 
GeneralIdentify record in Global Catalog Pin
robot_rock11-Jan-08 3:33
robot_rock11-Jan-08 3:33 
GeneralRe: Identify record in GC Pin
Justin Perez11-Jan-08 4:15
Justin Perez11-Jan-08 4:15 
GeneralRe: Identify record in GC Pin
robot_rock11-Jan-08 4:28
robot_rock11-Jan-08 4:28 
GeneralRe: Identify record in GC Pin
Dave Kreskowiak11-Jan-08 4:30
mveDave Kreskowiak11-Jan-08 4:30 
You may wnat to actually say you're working with Active Directory and "Global Catalog" instead of GC. In .NET, GC normally stands for "Garbage Collector".

The Global Catalog does NOT hold every property of every object. It holds a small subset of properties for all objects.

Your command text probably starts with "GC://...", correct?? Well, to get at the full record, you have to start with "LDAP://...". The port number is there to talk to either the unsecured version of LDAP, or the secured version. What you're doing on that connection has nothing to do with the port number you use. You normally don't need to give it the port number since AD uses the stadnard LDAP ports, 389 for normal connections and 636 for SSL secured.

But, to find the object, all you have to do is return the distiguishedName of the object your looking for from the Global Catalog. The distiguishedName will tell you the full path to the object, including which domain the object is in. You can then use that you get the object from LDAP so you can modify all the properties you want.



A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007




GeneralRe: Identify record in GC Pin
robot_rock11-Jan-08 4:44
robot_rock11-Jan-08 4:44 
GeneralRe: Identify record in GC Pin
Dave Kreskowiak11-Jan-08 6:20
mveDave Kreskowiak11-Jan-08 6:20 
GeneralRe: Identify record in GC Pin
robot_rock11-Jan-08 6:55
robot_rock11-Jan-08 6:55 
GeneralRe: Identify record in GC Pin
Dave Kreskowiak11-Jan-08 12:24
mveDave Kreskowiak11-Jan-08 12:24 
GeneralRe: Identify record in GC Pin
robot_rock11-Jan-08 12:49
robot_rock11-Jan-08 12:49 
GeneralRe: Identify record in GC Pin
robot_rock11-Jan-08 15:12
robot_rock11-Jan-08 15:12 
QuestionHow to Use C# realize the graphic website map? [modified] Pin
Member 472830111-Jan-08 1:29
Member 472830111-Jan-08 1:29 
AnswerRe: How to realizing the website mapeer? Pin
Pete O'Hanlon11-Jan-08 1:36
mvePete O'Hanlon11-Jan-08 1:36 
GeneralRe: How to realizing the website mapeer? Pin
Member 472830111-Jan-08 5:02
Member 472830111-Jan-08 5:02 
GeneralRe: How to realizing the website mapeer? Pin
led mike11-Jan-08 5:03
led mike11-Jan-08 5:03 
GeneralRe: How to realizing the website mapeer? Pin
Member 472830111-Jan-08 5:15
Member 472830111-Jan-08 5:15 
GeneralRe: How to realizing the website mapeer? Pin
Pete O'Hanlon11-Jan-08 23:04
mvePete O'Hanlon11-Jan-08 23:04 
AnswerRe: How to Use C# realize the graphic website map? Pin
Dan Neely11-Jan-08 5:30
Dan Neely11-Jan-08 5:30 
QuestionManaged/Unmanaged code - AccessViolationException Pin
Alex Zluka11-Jan-08 1:13
Alex Zluka11-Jan-08 1:13 
GeneralRe: Managed/Unmanaged code - AccessViolationException Pin
m@u11-Jan-08 1:40
m@u11-Jan-08 1:40 
GeneralRe: Managed/Unmanaged code - AccessViolationException Pin
Alex Zluka11-Jan-08 2:31
Alex Zluka11-Jan-08 2:31 
GeneralRe: Managed/Unmanaged code - AccessViolationException Pin
m@u11-Jan-08 2:49
m@u11-Jan-08 2:49 

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.