473,398 Members | 2,427 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

DirectorySearch

Hi all,

I am trying to search against my 2003 AD for just security groups. I can get
a list of all groups but it gives me every single type of groups including
all the Exchange ones which I don't want.
I'm not sure what properites in the Filter property to just give me security
groups.
My filter is something like: "(&(objectCategory=group)(<not sure what to put
here to narrow it down>))"

Any help appreciated thanks.
Nev
Nov 17 '05 #1
1 2454
Hi,

I found a site that can guide you.

http://www.codeproject.com/aspnet/ADSI2.asp

cheers
Salva


"nevin" wrote:
Hi all,

I am trying to search against my 2003 AD for just security groups. I can get
a list of all groups but it gives me every single type of groups including
all the Exchange ones which I don't want.
I'm not sure what properites in the Filter property to just give me security
groups.
My filter is something like: "(&(objectCategory=group)(<not sure what to put
here to narrow it down>))"

Any help appreciated thanks.
Nev

Nov 17 '05 #2

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

Similar topics

0
by: Ouaes Jamali | last post by:
Hi all, I am trying to set the "Filter" property of directory search object so that the search returns only users that are not disabled in Active Directory? Currently the way i do this to make a...
0
by: dhnriverside | last post by:
Hi peeps, I had a function working fine for retrieving a list of users from Active Directory. However, client wants it sorted alphabetically. So I added Sort option to my searcher, and now the...
0
by: Carl Klouda | last post by:
I'm building a VB 2005 app (.Net 2.0) that performs searches against our active directory. It's pretty basic. I have a UI form that takes search parameters and feeds them to a class I created. ...
4
by: IainM | last post by:
How can I enumerate AD objects (only in a given OU, not sub OUs) using the DirectoryEntry object? Let me know of this is the wrong forum for this question. Thanks, Iain
0
by: =?Utf-8?B?bWNkb25hbXc=?= | last post by:
I am writing a little program in vb.net to return a collections of AD properties to validate some information in AD. I'm noticing something strange in that I cannot get my program to release the...
9
by: gblack301 | last post by:
Hi, I have a Access database which stores organizations' webistes. When my asp form displays the website column it adds the search directory website instead displaying the website itself. I'm not...
6
Daxthecon
by: Daxthecon | last post by:
I need help with making a loop that takes the current user finds there manager and if there manager is a member of this group then put into box if not then find the next manager till it gets to one...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.