Click here to Skip to main content
15,923,015 members
Home / Discussions / C#
   

C#

 
GeneralRe: Copy protection via internet Pin
Ranjan Banerji28-May-03 9:47
Ranjan Banerji28-May-03 9:47 
GeneralRe: Copy protection via internet Pin
Bog28-May-03 9:52
Bog28-May-03 9:52 
GeneralRe: Copy protection via internet Pin
Kant28-May-03 13:20
Kant28-May-03 13:20 
GeneralRe: Copy protection via internet Pin
Rocky Moore28-May-03 22:27
Rocky Moore28-May-03 22:27 
GeneralRe: Copy protection via internet Pin
Daniel Turini29-May-03 11:35
Daniel Turini29-May-03 11:35 
GeneralRe: Copy protection via internet Pin
Bog29-May-03 16:59
Bog29-May-03 16:59 
Generaltest :) Pin
Bog15-Jul-03 2:25
Bog15-Jul-03 2:25 
GeneralAdding a user to an Active Directory group that contains more than 1,000 members Pin
Christian Merritt28-May-03 6:37
Christian Merritt28-May-03 6:37 
I am having some difficulty adding a member to a directory group
object that has 1,000 or more members already in it. For
example, if I have a group object with 1,300 existing
members in it, and I attempt to add another member, my
list of members is truncated to 1,001. Since I am using a
Windows 2000 directory server, I assume it's related to
the 1,000 per page issue. It works just fine if there are less
than 1,000 members in the group.

Here is the code I am using to add the member:

*****************BEGIN CODE********************
string AdsPath
= "LDAP://CN=GroupObject,DC=DomainA,DC=CorpA,DC=COM";

// bind
DirectoryEntry de = new DirectoryEntry(AdsPath);

// add member
de.Properties["member"].Add("CN=user,DC=DomainA,DC=CorpA,DC=com");

// commit
de.CommitChanges();
de.Close()
******************END CODE********************

Thanks in advance for your help. Wink | ;)
GeneralSave a typed DataTable DefaultView (Content) to XML Pin
STW28-May-03 4:56
STW28-May-03 4:56 
GeneralCrystal Report: How to change registration keycode Pin
STW28-May-03 4:47
STW28-May-03 4:47 
GeneralRe: Crystal Report: How to change registration keycode Pin
joan_fl28-May-03 5:31
joan_fl28-May-03 5:31 
GeneralClickety Police Pin
Ray Cassick28-May-03 6:57
Ray Cassick28-May-03 6:57 
GeneralRe: Crystal Report: How to change registration keycode Pin
Meysam Mahfouzi28-May-03 17:18
Meysam Mahfouzi28-May-03 17:18 
GeneralRe: Crystal Report: How to change registration keycode Pin
STW29-May-03 20:07
STW29-May-03 20:07 
GeneralUsing System.Web in C# Pin
aatja0128-May-03 4:05
aatja0128-May-03 4:05 
GeneralRe: Using System.Web in C# Pin
28-May-03 5:24
suss28-May-03 5:24 
QuestionIs this possible? Pin
Manster28-May-03 3:48
Manster28-May-03 3:48 
AnswerRe: Is this possible? Pin
Nick Parker28-May-03 4:34
protectorNick Parker28-May-03 4:34 
GeneralIssues Consuming Webservice From WinForm App Pin
Ach1lles28-May-03 3:05
Ach1lles28-May-03 3:05 
GeneralCrystal Reports and .net Pin
Braulio Dez28-May-03 1:15
Braulio Dez28-May-03 1:15 
GeneralRe: Crystal Reports and .net Pin
Rocky Moore28-May-03 3:28
Rocky Moore28-May-03 3:28 
GeneralRe: Crystal Reports and .net Pin
Braulio Dez28-May-03 3:44
Braulio Dez28-May-03 3:44 
GeneralC# graphics help required urgent. Pin
Hayat28-May-03 0:48
Hayat28-May-03 0:48 
GeneralRe: C# graphics help required urgent. Pin
Hayat30-May-03 0:23
Hayat30-May-03 0:23 
GeneralRe: C# graphics help required urgent. Pin
Hayat30-May-03 0:29
Hayat30-May-03 0:29 

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.