Re: Authorizing users based on User Groups

From: Tom Vande Stouwe MCSD.net (tomv_at_conpro.net)
Date: 08/26/03


Date: Tue, 26 Aug 2003 11:27:33 -0400


So long as you do not have Anonymous access active on the IIS server, then
you will have the user network information available. (With integrated
security on)

if User.isinrole("Rolename") then .....

User.identity.isauthenticated will tell you if they are logged in
User.identity.name will give you their login ID

Good Luck
Tom

-- 
==========================================
= Tom Vande Stouwe MCSD.net, MCAD.net, MCP
= 45Wallstreet.com (www.45wallstreet.com)
= (803)-345-5001
==========================================
= If you are not making any mistakes
.= ..you are not trying hard enough.
==========================================
"Edwin" <Edwin.Loubser@comau.co.za> wrote in message
news:0ef901c36bd4$87decbf0$a101280a@phx.gbl...
> Hi there
>
> I want the authorize users to use a Win32 application
> based on there User Group.  Ex only people in the
> Technical Sales department are allowed to use the program,
> obviously Administrators must also be allowed.
>
> The User Group information must be gathered from the
> Domain Controller.
> I would appreciate some help in this matter.
>
> Thanx in advance
>