Re: Best way to check for user 'Administrator' group membership

From: Date: Wed, 25 Feb 2004 14:19:30 +0000
Subject: Re: Best way to check for user 'Administrator' group membership
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-22967@lists.php.net to get a copy of this message
What???? Not sure if that was meant to be so sarcastic! I do not wish to use a login form of HTML. The user are already authenticated via Windows when the user directs thier browser to the URL. At this point they receive a popup and enter the login information. After this via PHP I want to determine if the user has admin level privledges. If so I want to make available an extra menu option. Jeez! Paul --- "Svensson, B.A.T. (HKG)" <B.A.T.Svensson@lumc.nl> wrote: > I have kind of the same problem: > > I'm running a Windows 2003 server on a 400W / 220V AC 50Hz, > there is about 10.000 lumen in the room, and the weather > is sunny today. > > Now, how do I do a make login form to my system? > > > On Tue, 2004-02-24 at 21:19, Paul Menard wrote: > > > Hi all, > > > > System: Windows Advanced Server 2000 running IIS5 > > PHP version 4.3.3 running CGI > > User authentication: via Windows (all users) > > > > Question. I have a web site I put together that is used by many different users. These > > users > are > > all local accounts. Some are members of the Administrators group and others are just > > general > > users. > > > > What I want is a way to determine is the user is part of the Administrators group. If so > > the > user > > will see an extra menu option. If not the option will not even be available to them. I was > trying > > to accomplish this via a local file site to be accessible only by > > 'Administrators'. I added > the > > PHP function 'is_writable(<filename>)' to my code. This does not seem to > > work. > > > > Any suggestions? > > > > FPM > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.windows (#22967) next »