Set logged in technician to incident technician in custom script using SDP cloud.

Set logged in technician to incident technician in custom script using SDP cloud.

Hello,
We are trying to create an incident template which is a very short form for people who walk in or call-in and the issue is fixed quickly. The form will only be filled out by the technician.
I'm trying to make an incident template which populates the technician field with the logged in technician when they create it. I am using SDP cloud.
When I try the script:

CS.setText("technician",sdp_user.username);
CS.end();

I get the error message: ReferenceError: sdp_user is not defined at eval (eval at onmessage etc............
Is there a way to do it on SDP cloud?
Thanks.

                New to ADSelfService Plus?