code:
$objUser = getobject('WinNT://'+@LDOMAIN+'/'+@USERID+',user')
$property=$objUser.FullName

; method 1
SELECT
CASE $property='The Boss'
;do stuff
CASE $property='The Underling'
; do other stuff
CASE 1
; no property mathes, so do nothing or something else
ENDSELECT


; method 2( for binary decision)
IF $property=''
? 'No full name provided'
; do stuff
ELSE
; do other stuff
ENDIF

Alternatively, one can use the LDAP Provider instead of the WinNT provider in an Active Directory domain. The WinNT provider is primarily for Windows NT 4.0 domains.

[ 16 May 2002, 17:04: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.