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

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top