How to get sys_id of currently logged in user in scripts-background?

prafful garg
Tera Contributor

How to get sys_id of currently logged in user in scripts-background?

 

1 ACCEPTED SOLUTION

Medi C
Giga Sage

@prafful garg 

Please use:

gs.getUser().getID()

If you found this helpful, please hit the thumbs-up button and mark as correct. That helps others find their solutions.

View solution in original post

1 REPLY 1

Medi C
Giga Sage

@prafful garg 

Please use:

gs.getUser().getID()

If you found this helpful, please hit the thumbs-up button and mark as correct. That helps others find their solutions.