active directory
-
i want to query active directory the way we do in ado.net.I want to query it save it in dataset .. can anyone help me to write connection string to this and how to do it . thanks
-
i want to query active directory the way we do in ado.net.I want to query it save it in dataset .. can anyone help me to write connection string to this and how to do it . thanks
Hi, have a look here: http://social.microsoft.com/Forums/en-US/netfxbcl/thread/729d1214-37f5-4330-9208-bc4d9d695ad0[^] Regards Sebastian
It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.
-
Hi, have a look here: http://social.microsoft.com/Forums/en-US/netfxbcl/thread/729d1214-37f5-4330-9208-bc4d9d695ad0[^] Regards Sebastian
It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.
since our database is too big i want to query it like select top 10 fro m like wise i want the queries on active directory.
-
since our database is too big i want to query it like select top 10 fro m like wise i want the queries on active directory.
Well the sample is using a DirectorySearcher-class (named mySearcher in the sample). This class offers properties like PageSize and SizeLimit. With this you can limit the size of results returned by the query. All you have to do is read a bit of the API: http://msdn.microsoft.com/en-us/library/system.directoryservices.directorysearcher.aspx[^]
It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.