Retrieving user group info

N

Ngan Bui

I have several webpages that have links to addnew and edit
pages. For a certain Windows user group, I want to hide
those links because they can only search and read data. I
know of the servervariables("REMOTE_USER"). Is there a
way to get the active directory group a user is part of?

For instance, in one page, I have:

<td align=center valign=center><a
href=clientaddnew.asp>Add New Client</a></td>

So I would want to do is:
if the user is part of the group "Read only": show nothing
else
<td align=center valign=center><a
href=clientaddnew.asp>Add New Client</a></td>
end if

Any thoughts?
 
J

Jim Buyens

For starters, please refer to this article:

http://www.microsoft.com/technet/community/scriptcenter/use
r/scrug191.mspx

If you need further assistance, the following newsgroups
specialize in this kind of thing:

microsoft.public.windows.server.active_directory
microsoft.public.adsi.general

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 

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

Top