Activate
Add
Deactivate
Retrieve
Update
渡されたパラメーターに基づいて、新しいアカウントユーザーを作成します。
Add(1)
| 序数 | 型 | 説明 | |
|---|---|---|---|
| 1 | object | 必須 | 新しいアカウントユーザーのプロパティを表す 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);