Try:
using GetEx

$USEROFFICE=$USERDETAILS.GetEx("OfficeLocations")
? "@error @serror"
? VarTypeName ($USEROFFICE)
_________________________
Home page: http://www.kixhelp.com/hb/