Peter but you can just use IsinRole for that
Check out my blog on this at:-
http://spaces.msn.com/naijacoder/
Patrick
"Peter Bons" <> wrote in message
news:Osr$...
> Hi,
>
> I have a question, I know that I can determine whether an user belongs to
> a certain AD group.
> But what if I want to check for a serie of users?
>
> I could use the DirectoryServices classes but that's not that simple to
> code.
> Would it not be possible to create a new User object representing a user
> so I can user the IsInRole method?
> If so, how? Or is there another easy way to check if a user belongs to a
> certain AD group?
>
> FYI: using .Net 1.1/VS2003 + impersonation/windows authentication
>
> Thanx,
> Peter
>