attiahia
(Hey THIS is FUN)
2001-04-18 09:38 AM
Administrators

Is the following function the best way to identify whether the user is an Administrator or not?

IF INGROUP ( "\\@WKSTA\Administrators" ) = 2
$USRTYP= "ADMINSTRATOR"
ELSE
$USRTYP= "USER"


Is there any other method or function?


JochenAdministrator
(KiX Supporter)
2001-04-18 09:49 AM
Re: Administrators

attiahia,

if you add an endif , this will work !


Jochen