473,493 Members | 2,245 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Getting groups in sub-OU using substring of OU

Is it possible to retreive groups from a sub-OU by using substring? I need
to be able to loop over the OUs of a OU to see if any have a sub-OU whose
Name ends with 'Security Groups' and output the groups from that sub-OU to a
web page using C#. Any help with this daunting task would be appreciated.
--
Regards,

Mike D
Coding in C# since Feb 2007
Jul 26 '07 #1
2 1359
Could you give a more in-depth explanation of what you're trying to
do? Some kind of ascii art diagram to show the structure of your AD
and what you're trying to find would be helpful.

On Jul 26, 6:52 pm, Mike D <Mi...@discussions.microsoft.comwrote:
Is it possible to retreive groups from a sub-OU by using substring? I need
to be able to loop over the OUs of a OU to see if any have a sub-OU whose
Name ends with 'Security Groups' and output the groups from that sub-OU to a
web page using C#. Any help with this daunting task would be appreciated.
--
Regards,

Mike D
Coding in C# since Feb 2007

Jul 26 '07 #2
Sorry, I was just told all they wanted was the groups in the DC. I have that.
--
Regards,

Mike D
Coding in C# since Feb 2007
"Flinky Wisty Pomm" wrote:
Could you give a more in-depth explanation of what you're trying to
do? Some kind of ascii art diagram to show the structure of your AD
and what you're trying to find would be helpful.

On Jul 26, 6:52 pm, Mike D <Mi...@discussions.microsoft.comwrote:
Is it possible to retreive groups from a sub-OU by using substring? I need
to be able to loop over the OUs of a OU to see if any have a sub-OU whose
Name ends with 'Security Groups' and output the groups from that sub-OU to a
web page using C#. Any help with this daunting task would be appreciated.
--
Regards,

Mike D
Coding in C# since Feb 2007


Jul 26 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1190
by: MetalOne | last post by:
The following does what I want, but I feel like this could maybe be a one liner. I just can't think of anything shorter. If there is nothing shorter, does this seem like a candidate for inclusion...
1
1565
by: Nothing | last post by:
I have a report that has several groups on it. I want to total for each group. My problem is that I group by a name and under the name I have data that breaks out into several sub-groups for that...
15
2943
by: sara | last post by:
Hi I'm pretty new to Access here (using Access 2000), and appreciate the help and instruction. I gave myself 2.5 hours to research online and help and try to get this one, and I am not getting...
7
1876
by: ChadDiesel | last post by:
Hello everyone, I'm having a problem with Access that I need some help with. The short version is, I want to print a list of parts and part quantities that belong to a certain part group---One...
0
421
by: Andrew Warren | last post by:
I have a need for a non-recursive technique to determine whether a user is a member of a specified group or any of its nested sub-groups I have read some of the posts regarding enumerating members...
1
3325
by: Morten Fagermoen | last post by:
Hi! I have the function below that return all users in a group, but this code does not work if there are nested groups. Can anyone tell me what to change to also get the users in the nested...
6
2587
by: Ronchese | last post by:
Hello, is there any way to get the name of the current running procedure? For example: Public Sub Test( ) 'do something '...
1
3081
by: lawton | last post by:
Source: this is an access 2003 question My knowledge level: reading books, internet, and trial & error; no formal training I'm trying to get a running sum of what's filtered in a subform which is...
1
3585
by: sean | last post by:
I'm trying to create "rubber-band" rectangles by overriding the OnPaint method to place rectangles on top of all graphic controls, but when I call Me.Invalidate() (when the user moves the mouse),...
0
1522
by: TG | last post by:
Hi! Once again I have hit a brick wall here. I have a combobox in which the user types the server name and then clicks on button 'CONNECT' to populate the next combobox which contains all the...
0
7119
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6989
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7157
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7195
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6873
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5453
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4579
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1400
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
285
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.