Add

概要 

渡されたパラメーターに基づいて、新しいアカウントユーザーを作成します。

構文 

Add(1)

関数のプロパティ 

序数説明
1object必須新しいアカウントユーザーのプロパティを表す JSON オブジェクト

例 

このサンプルコードは、新しいアカウントユーザーを追加し、提供された外部キーに基づいてユーザーのデフォルトのビジネスユニットおよび関連付けられたビジネスユニットを指定します。

var newUser = {
    "Name" : "Andrea Cruz",
    "UserID" : "acruz",
    "Password" : "PASSWORD",
    "Email" : "acruz@example.com",
    "ClientID" : 123456789,
    "DefaultBusinessUnitKey": "childBUKey",
    "AssociatedBusinessUnits" : ["childBUKey", "grandchildBUKey"]
};

var status = AccountUser.Add(newUser);