UserCreateParameters interface
用户创建详细信息。
属性
| app |
确定发送创建用户请求的应用程序的类型。 默认值为旧门户。 |
| confirmation | 确定将发送给新创建的用户的确认电子邮件的类型。 |
电子邮件地址。 不能为空,并且必须在服务实例中是唯一的。 |
|
| first |
名字。 |
| identities | 用户标识的集合。 |
| last |
姓。 |
| note | 有关管理员设置的用户的可选说明。 |
| password | 用户密码。 如果未提供任何值,则会生成默认密码。 |
| state | 帐户状态。 指定用户是否处于活动状态。 被阻止的用户无法登录到开发人员门户或调用已订阅产品的任何 API。 默认状态为“活动”。 |
属性详细信息
appType
确定发送创建用户请求的应用程序的类型。 默认值为旧门户。
appType?: string
属性值
string
confirmation
确定将发送给新创建的用户的确认电子邮件的类型。
confirmation?: string
属性值
string
电子邮件地址。 不能为空,并且必须在服务实例中是唯一的。
email?: string
属性值
string
firstName
名字。
firstName?: string
属性值
string
identities
lastName
姓。
lastName?: string
属性值
string
note
有关管理员设置的用户的可选说明。
note?: string
属性值
string
password
用户密码。 如果未提供任何值,则会生成默认密码。
password?: string
属性值
string
state
帐户状态。 指定用户是否处于活动状态。 被阻止的用户无法登录到开发人员门户或调用已订阅产品的任何 API。 默认状态为“活动”。
state?: string
属性值
string