NotifyNow - getPreferredE164VoiceNumber(GlideRecord ユーザー)
ユーザーの優先する音声通話の E.164 に準拠した電話番号を返します。
| 名前 | タイプ | 説明 |
|---|---|---|
| ユーザー | GlideRecord または文字列 | E.164 準拠の電話番号を取得するユーザーのユーザー レコードまたは sys_id。 |
| タイプ | 説明 |
|---|---|
| 文字列 | E.164 準拠の電話番号または null です。 |
var userID = "<user sys_id>";
var E164Number = new SNC.NotifyNow().getPreferredE164VoiceNumber(userID);
gs.log('the preferred phone number for setting up voice calls is ' + E164Number + ' for user with id: ' + userID);