Scoped GlideUser - getCompanyID()

Gets the company sys_id of the current user.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
String The company sys_id.
var currentUser = gs.getUser(); 
gs.info(currentUser.getCompanyID());

Output: