Click here to Skip to main content
15,898,222 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionPostback - Variables Deleted AND Listbox.SelectedItem Pin
bnonym081518-Jun-09 10:43
bnonym081518-Jun-09 10:43 
AnswerRe: Postback - Variables Deleted AND Listbox.SelectedItem Pin
Christian Graus18-Jun-09 10:47
protectorChristian Graus18-Jun-09 10:47 
AnswerRe: Postback - Variables Deleted AND Listbox.SelectedItem Pin
bnonym081518-Jun-09 10:55
bnonym081518-Jun-09 10:55 
GeneralRe: Postback - Variables Deleted AND Listbox.SelectedItem Pin
Christian Graus18-Jun-09 11:06
protectorChristian Graus18-Jun-09 11:06 
QuestionNull reference exception in gridview binding to text data Pin
ashutosh_karna18-Jun-09 10:26
ashutosh_karna18-Jun-09 10:26 
AnswerRe: Null reference exception in gridview binding to text data Pin
Christian Graus18-Jun-09 10:48
protectorChristian Graus18-Jun-09 10:48 
AnswerRe: Null reference exception in gridview binding to text data Pin
httplover18-Jun-09 15:01
httplover18-Jun-09 15:01 
QuestionRetrieving members of nested groups from AD Pin
Norriskilla18-Jun-09 9:49
Norriskilla18-Jun-09 9:49 
I am attempting to populate a ListBox with the names of users that belong to an AD Distribution List.   This was working previously, but the scope of the site has changed and I now need to include multiple groups in this List Box.   I put the three groups into a new group, and changed my code to pull the members of that group.   The list box is now populated with the three subgroups instead of the members of each group.

Here is the code I am using:

Dim Groups As New DirectorySearcher
            Dim GroupSearchRoot As New DirectoryEntry("LDAP://OU=Something,OU=Something,OU=Something,DC=Something,DC=Something")
           
            With Groups
                 
                  .SearchRoot = GroupSearchRoot
                  .Filter = "(&(ObjectClass=Group)(CN=SomeGroup))"
            End With
           
            Dim Members As Object = Groups.FindOne.GetDirectoryEntry.Invoke("Members", Nothing)
            For Each Member As Object In CType(Members, IEnumerable)
                  Dim CurrentMember As New DirectoryEntry(Member)
                  AuthMan.Items.Add(CurrentMember.Name.Remove(0, 3))

There is probably a very simple way to do this I am sure, but I am not thinking of it or finding it anywhere.

Thanks in Advance,

Norris
AnswerRe: Retrieving members of nested groups from AD Pin
Abhijit Jana18-Jun-09 11:34
professionalAbhijit Jana18-Jun-09 11:34 
GeneralRe: Retrieving members of nested groups from AD Pin
Norriskilla18-Jun-09 11:53
Norriskilla18-Jun-09 11:53 
QuestionAuthentication Required in Application_Start but not in Application_BeginRequest Pin
mtbvfr18-Jun-09 9:03
mtbvfr18-Jun-09 9:03 
QuestionAlign a paragraph in rich text box Pin
Member 465900118-Jun-09 7:32
Member 465900118-Jun-09 7:32 
Questionpassing Popup wondow values to parent window. Pin
avvaru.murali18-Jun-09 6:35
avvaru.murali18-Jun-09 6:35 
AnswerRe: passing Popup wondow values to parent window. Pin
koolprasad200318-Jun-09 19:56
professionalkoolprasad200318-Jun-09 19:56 
QuestionAJAX Hovermenu on Gridview button field Pin
Ridge Howison18-Jun-09 6:28
Ridge Howison18-Jun-09 6:28 
QuestionMASTER PAGE ISSUE Pin
Amit Patel198518-Jun-09 4:31
Amit Patel198518-Jun-09 4:31 
AnswerRe: MASTER PAGE ISSUE Pin
ToddHileHoffer18-Jun-09 10:03
ToddHileHoffer18-Jun-09 10:03 
Question[Message Deleted] Pin
Veerendranadh18-Jun-09 4:17
Veerendranadh18-Jun-09 4:17 
AnswerRe: Unable to disable backgroup using modalpopup extender Pin
httplover18-Jun-09 4:21
httplover18-Jun-09 4:21 
AnswerRe: Unable to disable backgroup using modalpopup extender Pin
dan!sh 18-Jun-09 4:21
professional dan!sh 18-Jun-09 4:21 
QuestionN-Layer ASP.Net Application Pin
Nutan T.18-Jun-09 3:46
Nutan T.18-Jun-09 3:46 
AnswerRe: N-Layer ASP.Net Application Pin
Vimalsoft(Pty) Ltd18-Jun-09 3:50
professionalVimalsoft(Pty) Ltd18-Jun-09 3:50 
QuestionValidation Summary Pin
Pankaj1818-Jun-09 3:00
Pankaj1818-Jun-09 3:00 
AnswerRe: Validation Summary Pin
Vimalsoft(Pty) Ltd18-Jun-09 3:34
professionalVimalsoft(Pty) Ltd18-Jun-09 3:34 
AnswerRe: Validation Summary Pin
Baran M18-Jun-09 20:44
Baran M18-Jun-09 20:44 

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.