Use an .INI file
code:
[Department A]
Subnet=123.123.123.123
[Departmetn B]
Subnet=111.111.111.111

and use READPROFILESTRING('subnet.ini',@PRIMARYGROUP,'Subnet') to pull the users subnet from the .INI file. Compare with the actual subnet via UDF (IsInSubnet or similar), "kick it up a notch", and done. [Wink]
_________________________
There are two types of vessels, submarines and targets.