hmm...
looking at the udf, it will only return the SID as return value.
error can be checked via @error

the header of the udf just isn't correct on that.
_________________________
!

download KiXnet