Re: Retrieve all users of a user group
From: Karsten Grombach (karsten.nogrombach_at_spam.tria.de)
Date: 09/09/04
- Next message: ladorna: "Rule for moving items from inbox after reading them"
- Previous message: Nick Malik: "Re: can a .NET app get access to a shared doc in SPS?"
- In reply to: Karsten Grombach: "Retrieve all users of a user group"
- Next in thread: David McKenzie: "Re: Retrieve all users of a user group"
- Reply: David McKenzie: "Re: Retrieve all users of a user group"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 9 Sep 2004 12:57:55 +0200
found the solution myself:
use the System.DirectoryServices.DirectorySearcher class and don't forget to
impersonate a user with sufficient rights.
"Karsten Grombach" <karsten.nogrombach@spam.tria.de> wrote in message
news:udJkwkblEHA.596@TK2MSFTNGP11.phx.gbl...
> Hi,
>
> i'm trying to get all users from a user group, so that i can display the
> members in a webpart. i was hopping to find something in the api, but
until
> now to no avail. does anyone know how to get this done?
>
> to confuse me even more i've found the following definitions in the sdk:
>
> SPGroup Class
> The SPGroup class represents a cross-site group on a SharePoint Web site.
>
> SPRole Class
> The SPRole class represents a site group in Microsoft Windows SharePoint
> Services.
>
> what is the difference between a site group and a cross-site group? is
there
> a link to a user group?
>
> regards
> karsten
>
>
- Next message: ladorna: "Rule for moving items from inbox after reading them"
- Previous message: Nick Malik: "Re: can a .NET app get access to a shared doc in SPS?"
- In reply to: Karsten Grombach: "Retrieve all users of a user group"
- Next in thread: David McKenzie: "Re: Retrieve all users of a user group"
- Reply: David McKenzie: "Re: Retrieve all users of a user group"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|