SP.ChangeUser.userId property (sp.js)

Gets a value that uniquely identifies the changed user.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var value = SP.ChangeUser.get_userId ()

Return value

Type: Number