[]
设置用户有效性。不支持设置域用户的有效性。
Request Body
Type: application/json-patch+json
Type: application/json
Type: text/json
Type: application/*+json
Responses
[200] OK
Type: [text/plain]
Example:
{
"Result": false,
"Message": "Error message.",
"ErrorCode": 0,
"MessageProperties": null
}
Type: [application/json]
Example:
{
"Result": false,
"Message": "Error message.",
"ErrorCode": 0,
"MessageProperties": null
}
Type: [text/json]
Example:
{
"Result": false,
"Message": "Error message.",
"ErrorCode": 0,
"MessageProperties": null
}
请求结果。
| 属性名 | 类型 | 说明 | Example |
|---|---|---|---|
| Result | Boolean | 请求是否成功。 | |
| MessageNullable | string | 请求返回的信息。 | |
| ErrorCode | int32 | 请求返回的错误码。 | |
| MessagePropertiesNullable | Array |
请求返回信息中的数据。 |
设置用户有效性请求中使用的参数。
| 属性名 | 类型 | 说明 | Example |
|---|---|---|---|
| UserNames | Array<string> |
普通用户的用户名,不能为空。 | |
| IsValid | Boolean | 设置用户是否有效。 |