Add

概要 

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

構文 

Add(1)

関数のプロパティ 

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

例 

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

1var newUser = {
2    "Name" : "Andrea Cruz",
3    "UserID" : "acruz",
4    "Password" : "PASSWORD",
5    "Email" : "acruz@example.com",
6    "ClientID" : 123456789,
7    "DefaultBusinessUnitKey": "childBUKey",
8    "AssociatedBusinessUnits" : ["childBUKey", "grandchildBUKey"]
9};
10
11var status = AccountUser.Add(newUser);