Re: LDP query for user groups nested?



I'd initially suggest submitting something along the lines of the
following query -

base dn: <user object>
scope: base
filter: obectclass=*
attributes: tokenGroups

.... note that the scope of the query must be 'base' since tokenGroups is
a constructed attribute and the DSA will not return its value with
larger result sets.

Does this suffice?

--
Dean Wells [MVP / Directory Services]
MSEtechnology
[[ Please respond to the Newsgroup only regarding posts ]]
R e m o v e t h e m a s k t o s e n d e m a i l

Eric - ARUP wrote:
> Hello
>
> Is it possible to query AD for a user to get the groups he is a
> member of, and if any of those groups are nested then also return
> those uplevel groups as well.
>
> Currently testing this we query the user and get his memberOf, but
> unless we query each group we dont get the uplevel groups for those
> that are nested without a seperate query.
>
> thanks
> e-


.



Relevant Pages

  • RE: 2003 Index Server - ignoring scopes error?
    ... ' *** Modifying the Form's Search Scope. ... ' *** Modifying the Number of Returned Query Results. ... Microsoft Application Center & Index Server Support ...
    (microsoft.public.inetserver.indexserver)
  • Re: LDP query for user groups nested?
    ... you'll need to re-iterate the query against each individually ... ... >> attributes: tokenGroups ... >>> member of, and if any of those groups are nested then also return ... >>> unless we query each group we dont get the uplevel groups for those ...
    (microsoft.public.windows.server.active_directory)
  • Re: MOSS 2007 Search Query Web Service problem
    ... I cannot get the scope working in the Where criteria of FullTextSqlQuery ... either but otherwise my SQL Search query works. ... queryMethod, String queryXml, String& domain, String& queryId, Int32& ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: Select Into -Issue , Please help
    ... It is a matter of the scope of the temporary table. ... In the query window, once you have created #tmp_table1 in that window, it will exist until you get rid of it. ... But if i use the same from the VB6 GUI, ...
    (microsoft.public.sqlserver.clients)
  • RE: MOSS 2007 Search Query Web Service problem
    ... Do you have a scope called "All Content" defined. ... Would keyword search work for your scenario rather than SQL Query. ... Exception message: Exception from HRESULT: ... queryMethod, String queryXml, String& domain, String& queryId, Int32& ...
    (microsoft.public.sharepoint.portalserver)

Loading