I take it with this example I cannot use that? I have been using this to clean up our login script quite significantly.

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's