Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.
Versions
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store
Close

NotifyNow - isSMSCapable(String userID)

NotifyNow - isSMSCapable(String userID)

Checks if a user is able to send SMS messages.

Table 1. Parameters
Name Type Description
userID String The sys_id of the user you want to check for an SMS-capable phone number.
Table 2. Returns
Type Description
Boolean If the user can send SMS messages.

gs.log('the user is able to send SMS messages (e.g. has a SMS device): ' + ((new SNC.NotifyNow().isSMSCapable('<user sys_id>')) ? 
     'yes' : 'no'));