B
bj daniels
is there a quick way to determine if a given username is in a particular
groups (w2k3 active directory).
basically I want to say something like this:
while dr.read 'dr is a datareader with a bunch of user records
if IsInGroup(dr("username"), "TeachersGroup") then
blah blah blah
end if
end while
I cannot figure out an easy way to create the IsInGroup function. I know
how to check if the current user is in a group (using the IsInRole
function) - but that doesn't help me in the above example.
thanks
bj daniels
(e-mail address removed)
groups (w2k3 active directory).
basically I want to say something like this:
while dr.read 'dr is a datareader with a bunch of user records
if IsInGroup(dr("username"), "TeachersGroup") then
blah blah blah
end if
end while
I cannot figure out an easy way to create the IsInGroup function. I know
how to check if the current user is in a group (using the IsInRole
function) - but that doesn't help me in the above example.
thanks
bj daniels
(e-mail address removed)