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

From: Date: Wed, 25 Feb 2004 08:53:17 +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-22960@lists.php.net to get a copy of this message
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

« previous php.windows (#22960) next »