On Behalf Of User in FAFR?

On Behalf Of User in FAFR?

I don't really know where I've gotten this from but I'm trying to have a variable owner be the request OR on behalf of if that is filled in. But it doesn't seem to work even if I fill in the On Behalf Of. 

Getting the Value of the Requester returns the name.
But getting the value of the On Behalf Of returns a UID-number
var owner = $CS.getValue("REQUESTER");
if ($CS.getValue("REQUESTER.OBO")) {
onbehalfof= $CS.getValue("REQUESTER.OBO);
}

Owner: John Connor
On Behalf of: 7370
So I need to do do getText instead.
Why this discrepancy? It also causes my IF statement to fail since getValue returns 0 not NULL when there is no On Behalf Of.


                      New to ADSelfService Plus?