when using newer versions of Kixtart change:
code:
if ingroup ("Administration")=2  

to
code:
if ingroup ("Administration")  

The functiona only returns 0 or 1 according to the documentation.
_________________________
Home page: http://www.kixhelp.com/hb/