User.IsInRole -> I do not want current user but all users

  • Thread starter Thread starter Peter Bons
  • Start date Start date
P

Peter Bons

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
 
Back
Top