[]
添加普通用户。
Request Body
Type: application/json-patch+json
Example:
{
"UserInfos": [
{
"Password": "password123456",
"ExtendedPropertyList": [
{
"Value": "Tom",
"PropertyName": "Mentor",
"PropertyType": 0,
"PropertyDescription": null
},
{
"Value": "San Francisco",
"PropertyName": "Address",
"PropertyType": 0,
"PropertyDescription": null
}
],
"UserName": "Bob",
"FullName": "Bob Smith",
"Email": "Bob@email.com",
"ExtendedProperties": {
"Mentor": "Tom",
"Address": "San Francisco"
}
},
{
"Password": "password123456",
"ExtendedPropertyList": [
{
"Value": "Tom",
"PropertyName": "Mentor",
"PropertyType": 0,
"PropertyDescription": null
},
{
"Value": "New York",
"PropertyName": "Address",
"PropertyType": 0,
"PropertyDescription": null
}
],
"UserName": "Andy",
"FullName": "Andy Brown",
"Email": "Andy@email.com",
"ExtendedProperties": {
"Mentor": "Tom",
"Address": "New York"
}
}
]
}
Type: application/json
Example:
{
"UserInfos": [
{
"Password": "password123456",
"ExtendedPropertyList": [
{
"Value": "Tom",
"PropertyName": "Mentor",
"PropertyType": 0,
"PropertyDescription": null
},
{
"Value": "San Francisco",
"PropertyName": "Address",
"PropertyType": 0,
"PropertyDescription": null
}
],
"UserName": "Bob",
"FullName": "Bob Smith",
"Email": "Bob@email.com",
"ExtendedProperties": {
"Mentor": "Tom",
"Address": "San Francisco"
}
},
{
"Password": "password123456",
"ExtendedPropertyList": [
{
"Value": "Tom",
"PropertyName": "Mentor",
"PropertyType": 0,
"PropertyDescription": null
},
{
"Value": "New York",
"PropertyName": "Address",
"PropertyType": 0,
"PropertyDescription": null
}
],
"UserName": "Andy",
"FullName": "Andy Brown",
"Email": "Andy@email.com",
"ExtendedProperties": {
"Mentor": "Tom",
"Address": "New York"
}
}
]
}
Type: text/json
Example:
{
"UserInfos": [
{
"Password": "password123456",
"ExtendedPropertyList": [
{
"Value": "Tom",
"PropertyName": "Mentor",
"PropertyType": 0,
"PropertyDescription": null
},
{
"Value": "San Francisco",
"PropertyName": "Address",
"PropertyType": 0,
"PropertyDescription": null
}
],
"UserName": "Bob",
"FullName": "Bob Smith",
"Email": "Bob@email.com",
"ExtendedProperties": {
"Mentor": "Tom",
"Address": "San Francisco"
}
},
{
"Password": "password123456",
"ExtendedPropertyList": [
{
"Value": "Tom",
"PropertyName": "Mentor",
"PropertyType": 0,
"PropertyDescription": null
},
{
"Value": "New York",
"PropertyName": "Address",
"PropertyType": 0,
"PropertyDescription": null
}
],
"UserName": "Andy",
"FullName": "Andy Brown",
"Email": "Andy@email.com",
"ExtendedProperties": {
"Mentor": "Tom",
"Address": "New York"
}
}
]
}
Type: application/*+json
Example:
{
"UserInfos": [
{
"Password": "password123456",
"ExtendedPropertyList": [
{
"Value": "Tom",
"PropertyName": "Mentor",
"PropertyType": 0,
"PropertyDescription": null
},
{
"Value": "San Francisco",
"PropertyName": "Address",
"PropertyType": 0,
"PropertyDescription": null
}
],
"UserName": "Bob",
"FullName": "Bob Smith",
"Email": "Bob@email.com",
"ExtendedProperties": {
"Mentor": "Tom",
"Address": "San Francisco"
}
},
{
"Password": "password123456",
"ExtendedPropertyList": [
{
"Value": "Tom",
"PropertyName": "Mentor",
"PropertyType": 0,
"PropertyDescription": null
},
{
"Value": "New York",
"PropertyName": "Address",
"PropertyType": 0,
"PropertyDescription": null
}
],
"UserName": "Andy",
"FullName": "Andy Brown",
"Email": "Andy@email.com",
"ExtendedProperties": {
"Mentor": "Tom",
"Address": "New York"
}
}
]
}
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
}
添加域用户。
Request Body
Type: application/json-patch+json
Example:
{
"UserInfos": [
{
"Password": null,
"ExtendedPropertyList": [
{
"Value": "Vivian",
"PropertyName": "Mentor",
"PropertyType": 0,
"PropertyDescription": null
},
{
"Value": "San Francisco",
"PropertyName": "Address",
"PropertyType": 0,
"PropertyDescription": null
}
],
"UserName": "Alex",
"FullName": null,
"Email": null,
"ExtendedProperties": {
"Mentor": "Vivian",
"Address": "San Francisco"
}
},
{
"Password": null,
"ExtendedPropertyList": [
{
"Value": "Vivian",
"PropertyName": "Mentor",
"PropertyType": 0,
"PropertyDescription": null
},
{
"Value": "New York",
"PropertyName": "Address",
"PropertyType": 0,
"PropertyDescription": null
}
],
"UserName": "Ellen",
"FullName": null,
"Email": null,
"ExtendedProperties": {
"Mentor": "Vivian",
"Address": "New York"
}
}
]
}
Type: application/json
Example:
{
"UserInfos": [
{
"Password": null,
"ExtendedPropertyList": [
{
"Value": "Vivian",
"PropertyName": "Mentor",
"PropertyType": 0,
"PropertyDescription": null
},
{
"Value": "San Francisco",
"PropertyName": "Address",
"PropertyType": 0,
"PropertyDescription": null
}
],
"UserName": "Alex",
"FullName": null,
"Email": null,
"ExtendedProperties": {
"Mentor": "Vivian",
"Address": "San Francisco"
}
},
{
"Password": null,
"ExtendedPropertyList": [
{
"Value": "Vivian",
"PropertyName": "Mentor",
"PropertyType": 0,
"PropertyDescription": null
},
{
"Value": "New York",
"PropertyName": "Address",
"PropertyType": 0,
"PropertyDescription": null
}
],
"UserName": "Ellen",
"FullName": null,
"Email": null,
"ExtendedProperties": {
"Mentor": "Vivian",
"Address": "New York"
}
}
]
}
Type: text/json
Example:
{
"UserInfos": [
{
"Password": null,
"ExtendedPropertyList": [
{
"Value": "Vivian",
"PropertyName": "Mentor",
"PropertyType": 0,
"PropertyDescription": null
},
{
"Value": "San Francisco",
"PropertyName": "Address",
"PropertyType": 0,
"PropertyDescription": null
}
],
"UserName": "Alex",
"FullName": null,
"Email": null,
"ExtendedProperties": {
"Mentor": "Vivian",
"Address": "San Francisco"
}
},
{
"Password": null,
"ExtendedPropertyList": [
{
"Value": "Vivian",
"PropertyName": "Mentor",
"PropertyType": 0,
"PropertyDescription": null
},
{
"Value": "New York",
"PropertyName": "Address",
"PropertyType": 0,
"PropertyDescription": null
}
],
"UserName": "Ellen",
"FullName": null,
"Email": null,
"ExtendedProperties": {
"Mentor": "Vivian",
"Address": "New York"
}
}
]
}
Type: application/*+json
Example:
{
"UserInfos": [
{
"Password": null,
"ExtendedPropertyList": [
{
"Value": "Vivian",
"PropertyName": "Mentor",
"PropertyType": 0,
"PropertyDescription": null
},
{
"Value": "San Francisco",
"PropertyName": "Address",
"PropertyType": 0,
"PropertyDescription": null
}
],
"UserName": "Alex",
"FullName": null,
"Email": null,
"ExtendedProperties": {
"Mentor": "Vivian",
"Address": "San Francisco"
}
},
{
"Password": null,
"ExtendedPropertyList": [
{
"Value": "Vivian",
"PropertyName": "Mentor",
"PropertyType": 0,
"PropertyDescription": null
},
{
"Value": "New York",
"PropertyName": "Address",
"PropertyType": 0,
"PropertyDescription": null
}
],
"UserName": "Ellen",
"FullName": null,
"Email": null,
"ExtendedProperties": {
"Mentor": "Vivian",
"Address": "New York"
}
}
]
}
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
}
删除普通用户。
Request Body
Type: application/json-patch+json
Example:
{
"Users": [
"Bob",
"Andy"
]
}
Type: application/json
Example:
{
"Users": [
"Bob",
"Andy"
]
}
Type: text/json
Example:
{
"Users": [
"Bob",
"Andy"
]
}
Type: application/*+json
Example:
{
"Users": [
"Bob",
"Andy"
]
}
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
}
删除域用户。
Request Body
Type: application/json-patch+json
Example:
{
"Users": [
"Alex",
"Ellen"
]
}
Type: application/json
Example:
{
"Users": [
"Alex",
"Ellen"
]
}
Type: text/json
Example:
{
"Users": [
"Alex",
"Ellen"
]
}
Type: application/*+json
Example:
{
"Users": [
"Alex",
"Ellen"
]
}
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
}
更新普通用户信息。
Request Body
Type: application/json-patch+json
Example:
{
"FullName": "Bob Smith",
"IsEnabled": false,
"UserName": "Bob",
"Email": "Bob2@email.com",
"ExtendedProperties": {
"Mentor": "Tom",
"Address": "San Francisco"
}
}
Type: application/json
Example:
{
"FullName": "Bob Smith",
"IsEnabled": false,
"UserName": "Bob",
"Email": "Bob2@email.com",
"ExtendedProperties": {
"Mentor": "Tom",
"Address": "San Francisco"
}
}
Type: text/json
Example:
{
"FullName": "Bob Smith",
"IsEnabled": false,
"UserName": "Bob",
"Email": "Bob2@email.com",
"ExtendedProperties": {
"Mentor": "Tom",
"Address": "San Francisco"
}
}
Type: application/*+json
Example:
{
"FullName": "Bob Smith",
"IsEnabled": false,
"UserName": "Bob",
"Email": "Bob2@email.com",
"ExtendedProperties": {
"Mentor": "Tom",
"Address": "San Francisco"
}
}
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
}
更新域用户信息。
Request Body
Type: application/json-patch+json
Example:
{
"UserName": "Alex",
"Email": "Alex2@email.com",
"ExtendedProperties": {
"Mentor": "Vivian",
"Address": "San Francisco"
}
}
Type: application/json
Example:
{
"UserName": "Alex",
"Email": "Alex2@email.com",
"ExtendedProperties": {
"Mentor": "Vivian",
"Address": "San Francisco"
}
}
Type: text/json
Example:
{
"UserName": "Alex",
"Email": "Alex2@email.com",
"ExtendedProperties": {
"Mentor": "Vivian",
"Address": "San Francisco"
}
}
Type: application/*+json
Example:
{
"UserName": "Alex",
"Email": "Alex2@email.com",
"ExtendedProperties": {
"Mentor": "Vivian",
"Address": "San Francisco"
}
}
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
}
重置用户密码。
Request Body
Type: application/json-patch+json
Example:
{
"UserName": "Bob",
"NewPassword": "123456password"
}
Type: application/json
Example:
{
"UserName": "Bob",
"NewPassword": "123456password"
}
Type: text/json
Example:
{
"UserName": "Bob",
"NewPassword": "123456password"
}
Type: application/*+json
Example:
{
"UserName": "Bob",
"NewPassword": "123456password"
}
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
}
重置用户密码。
Request Body
Type: application/json-patch+json
Example:
{
"UserNames": [
"Bob",
"Alex"
],
"NewPassword": "123456password"
}
Type: application/json
Example:
{
"UserNames": [
"Bob",
"Alex"
],
"NewPassword": "123456password"
}
Type: text/json
Example:
{
"UserNames": [
"Bob",
"Alex"
],
"NewPassword": "123456password"
}
Type: application/*+json
Example:
{
"UserNames": [
"Bob",
"Alex"
],
"NewPassword": "123456password"
}
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
}
Parameters
属性名 | In | 类型 | 说明 |
---|---|---|---|
userName | query | string | 用户名。 |
获取普通用户信息。
Responses
[200] OK
Type: [text/plain]
Example:
{
"UserInfo": {
"IsEnabled": true,
"Roles": [
"Intern",
"Developer"
],
"OrganizationPaths": [
"DepartmentA/DepartmentA1",
"DepartmentA/DepartmentA2"
],
"UserName": "Bob",
"FullName": "Bob Smith",
"Email": "Bob@email.com",
"ExtendedProperties": {
"Mentor": "Tom",
"Address": "New York"
}
},
"Result": true,
"Message": null,
"ErrorCode": 0,
"MessageProperties": null
}
Type: [application/json]
Example:
{
"UserInfo": {
"IsEnabled": true,
"Roles": [
"Intern",
"Developer"
],
"OrganizationPaths": [
"DepartmentA/DepartmentA1",
"DepartmentA/DepartmentA2"
],
"UserName": "Bob",
"FullName": "Bob Smith",
"Email": "Bob@email.com",
"ExtendedProperties": {
"Mentor": "Tom",
"Address": "New York"
}
},
"Result": true,
"Message": null,
"ErrorCode": 0,
"MessageProperties": null
}
Type: [text/json]
Example:
{
"UserInfo": {
"IsEnabled": true,
"Roles": [
"Intern",
"Developer"
],
"OrganizationPaths": [
"DepartmentA/DepartmentA1",
"DepartmentA/DepartmentA2"
],
"UserName": "Bob",
"FullName": "Bob Smith",
"Email": "Bob@email.com",
"ExtendedProperties": {
"Mentor": "Tom",
"Address": "New York"
}
},
"Result": true,
"Message": null,
"ErrorCode": 0,
"MessageProperties": null
}
Parameters
属性名 | In | 类型 | 说明 |
---|---|---|---|
userName | query | string | 用户名。 |
获取域用户信息。
Responses
[200] OK
Type: [text/plain]
Example:
{
"UserInfo": {
"IsEnabled": true,
"Roles": [
"Intern",
"Developer"
],
"OrganizationPaths": [
"DepartmentA/DepartmentA1",
"DepartmentA/DepartmentA2"
],
"UserName": "Bob",
"FullName": "Bob Smith",
"Email": "Bob@email.com",
"ExtendedProperties": {
"Mentor": "Tom",
"Address": "New York"
}
},
"Result": true,
"Message": null,
"ErrorCode": 0,
"MessageProperties": null
}
Type: [application/json]
Example:
{
"UserInfo": {
"IsEnabled": true,
"Roles": [
"Intern",
"Developer"
],
"OrganizationPaths": [
"DepartmentA/DepartmentA1",
"DepartmentA/DepartmentA2"
],
"UserName": "Bob",
"FullName": "Bob Smith",
"Email": "Bob@email.com",
"ExtendedProperties": {
"Mentor": "Tom",
"Address": "New York"
}
},
"Result": true,
"Message": null,
"ErrorCode": 0,
"MessageProperties": null
}
Type: [text/json]
Example:
{
"UserInfo": {
"IsEnabled": true,
"Roles": [
"Intern",
"Developer"
],
"OrganizationPaths": [
"DepartmentA/DepartmentA1",
"DepartmentA/DepartmentA2"
],
"UserName": "Bob",
"FullName": "Bob Smith",
"Email": "Bob@email.com",
"ExtendedProperties": {
"Mentor": "Tom",
"Address": "New York"
}
},
"Result": true,
"Message": null,
"ErrorCode": 0,
"MessageProperties": null
}
Parameters
属性名 | In | 类型 | 说明 |
---|---|---|---|
roleName | query | string | 角色名。 |
获取普通用户信息。
Responses
[200] OK
Type: [text/plain]
Example:
{
"Users": [
{
"IsEnabled": true,
"Roles": [
"Intern",
"Developer"
],
"OrganizationPaths": [
"DepartmentA/DepartmentA1",
"DepartmentA/DepartmentA1"
],
"UserName": "Bob",
"FullName": "Bob Smith",
"Email": "Bob@email.com",
"ExtendedProperties": {
"Mentor": "Tom",
"Address": "New York"
}
},
{
"IsEnabled": true,
"Roles": [
"Developer"
],
"OrganizationPaths": [
"DepartmentB/DepartmentB1",
"DepartmentB/DepartmentB1"
],
"UserName": "Andy",
"FullName": "Andy Brown",
"Email": "Andy@email.com",
"ExtendedProperties": {
"Mentor": "Tom",
"Address": "New York"
}
}
],
"Result": true,
"Message": null,
"ErrorCode": 0,
"MessageProperties": null
}
Type: [application/json]
Example:
{
"Users": [
{
"IsEnabled": true,
"Roles": [
"Intern",
"Developer"
],
"OrganizationPaths": [
"DepartmentA/DepartmentA1",
"DepartmentA/DepartmentA1"
],
"UserName": "Bob",
"FullName": "Bob Smith",
"Email": "Bob@email.com",
"ExtendedProperties": {
"Mentor": "Tom",
"Address": "New York"
}
},
{
"IsEnabled": true,
"Roles": [
"Developer"
],
"OrganizationPaths": [
"DepartmentB/DepartmentB1",
"DepartmentB/DepartmentB1"
],
"UserName": "Andy",
"FullName": "Andy Brown",
"Email": "Andy@email.com",
"ExtendedProperties": {
"Mentor": "Tom",
"Address": "New York"
}
}
],
"Result": true,
"Message": null,
"ErrorCode": 0,
"MessageProperties": null
}
Type: [text/json]
Example:
{
"Users": [
{
"IsEnabled": true,
"Roles": [
"Intern",
"Developer"
],
"OrganizationPaths": [
"DepartmentA/DepartmentA1",
"DepartmentA/DepartmentA1"
],
"UserName": "Bob",
"FullName": "Bob Smith",
"Email": "Bob@email.com",
"ExtendedProperties": {
"Mentor": "Tom",
"Address": "New York"
}
},
{
"IsEnabled": true,
"Roles": [
"Developer"
],
"OrganizationPaths": [
"DepartmentB/DepartmentB1",
"DepartmentB/DepartmentB1"
],
"UserName": "Andy",
"FullName": "Andy Brown",
"Email": "Andy@email.com",
"ExtendedProperties": {
"Mentor": "Tom",
"Address": "New York"
}
}
],
"Result": true,
"Message": null,
"ErrorCode": 0,
"MessageProperties": null
}
Parameters
属性名 | In | 类型 | 说明 |
---|---|---|---|
roleName | query | string | 角色名。 |
获取域用户信息。
Responses
[200] OK
Type: [text/plain]
Example:
{
"Users": [
{
"IsEnabled": true,
"Roles": [
"Intern",
"Developer"
],
"OrganizationPaths": [
"DepartmentA/DepartmentA1",
"DepartmentA/DepartmentA1"
],
"UserName": "Bob",
"FullName": "Bob Smith",
"Email": "Bob@email.com",
"ExtendedProperties": {
"Mentor": "Tom",
"Address": "New York"
}
},
{
"IsEnabled": true,
"Roles": [
"Developer"
],
"OrganizationPaths": [
"DepartmentB/DepartmentB1",
"DepartmentB/DepartmentB1"
],
"UserName": "Andy",
"FullName": "Andy Brown",
"Email": "Andy@email.com",
"ExtendedProperties": {
"Mentor": "Tom",
"Address": "New York"
}
}
],
"Result": true,
"Message": null,
"ErrorCode": 0,
"MessageProperties": null
}
Type: [application/json]
Example:
{
"Users": [
{
"IsEnabled": true,
"Roles": [
"Intern",
"Developer"
],
"OrganizationPaths": [
"DepartmentA/DepartmentA1",
"DepartmentA/DepartmentA1"
],
"UserName": "Bob",
"FullName": "Bob Smith",
"Email": "Bob@email.com",
"ExtendedProperties": {
"Mentor": "Tom",
"Address": "New York"
}
},
{
"IsEnabled": true,
"Roles": [
"Developer"
],
"OrganizationPaths": [
"DepartmentB/DepartmentB1",
"DepartmentB/DepartmentB1"
],
"UserName": "Andy",
"FullName": "Andy Brown",
"Email": "Andy@email.com",
"ExtendedProperties": {
"Mentor": "Tom",
"Address": "New York"
}
}
],
"Result": true,
"Message": null,
"ErrorCode": 0,
"MessageProperties": null
}
Type: [text/json]
Example:
{
"Users": [
{
"IsEnabled": true,
"Roles": [
"Intern",
"Developer"
],
"OrganizationPaths": [
"DepartmentA/DepartmentA1",
"DepartmentA/DepartmentA1"
],
"UserName": "Bob",
"FullName": "Bob Smith",
"Email": "Bob@email.com",
"ExtendedProperties": {
"Mentor": "Tom",
"Address": "New York"
}
},
{
"IsEnabled": true,
"Roles": [
"Developer"
],
"OrganizationPaths": [
"DepartmentB/DepartmentB1",
"DepartmentB/DepartmentB1"
],
"UserName": "Andy",
"FullName": "Andy Brown",
"Email": "Andy@email.com",
"ExtendedProperties": {
"Mentor": "Tom",
"Address": "New York"
}
}
],
"Result": true,
"Message": null,
"ErrorCode": 0,
"MessageProperties": null
}
Parameters
属性名 | In | 类型 | 说明 |
---|---|---|---|
userName | query | string | 用户名。 |
获取普通用户的角色。
Responses
[200] OK
Type: [text/plain]
Example:
{
"Roles": [
"Intern",
"Developer",
"RoleA",
"RoleB",
"RoleC"
],
"Result": false,
"Message": null,
"ErrorCode": 0,
"MessageProperties": null
}
Type: [application/json]
Example:
{
"Roles": [
"Intern",
"Developer",
"RoleA",
"RoleB",
"RoleC"
],
"Result": false,
"Message": null,
"ErrorCode": 0,
"MessageProperties": null
}
Type: [text/json]
Example:
{
"Roles": [
"Intern",
"Developer",
"RoleA",
"RoleB",
"RoleC"
],
"Result": false,
"Message": null,
"ErrorCode": 0,
"MessageProperties": null
}
Parameters
属性名 | In | 类型 | 说明 |
---|---|---|---|
userName | query | string | 用户名。 |
获取域用户的角色。
Responses
[200] OK
Type: [text/plain]
Example:
{
"Roles": [
"Intern",
"Developer",
"RoleA",
"RoleB",
"RoleC"
],
"Result": false,
"Message": null,
"ErrorCode": 0,
"MessageProperties": null
}
Type: [application/json]
Example:
{
"Roles": [
"Intern",
"Developer",
"RoleA",
"RoleB",
"RoleC"
],
"Result": false,
"Message": null,
"ErrorCode": 0,
"MessageProperties": null
}
Type: [text/json]
Example:
{
"Roles": [
"Intern",
"Developer",
"RoleA",
"RoleB",
"RoleC"
],
"Result": false,
"Message": null,
"ErrorCode": 0,
"MessageProperties": null
}
请求结果。
属性名 | 类型 | 说明 | Example |
---|---|---|---|
Result | Boolean | 请求是否成功。 | |
MessageNullable | string | 请求返回的信息。 | |
ErrorCode | int32 | 请求返回的错误码。 | |
MessagePropertiesNullable | Array |
请求返回信息中的数据。 |
用户相关请求所使用的参数。
属性名 | 类型 | 说明 | Example |
---|---|---|---|
UserInfosNullable | Array<RequestUserInfo> |
用户信息。 |
请求中的用户信息。
属性名 | 类型 | 说明 | Example |
---|---|---|---|
PasswordNullable | string | 密码。 | |
ExtendedPropertyListNullable | Array<PropertyValueInfo> |
扩展属性的值。 | |
UserNameNullable | string | 用户名。 | |
FullNameNullable | string | 全名。 | |
EmailNullable | string | 电子邮箱。 | |
ExtendedPropertiesNullable | string | 扩展属性。 |
对象的属性和值。
属性名 | 类型 | 说明 | Example |
---|---|---|---|
ValueNullable | string | 属性值。 | |
PropertyNameNullable | string | 属性名。 | |
PropertyType | int32 | 属性类型。
|
|
PropertyDescriptionNullable | string | 属性描述。 |
用户相关请求所使用的参数。
属性名 | 类型 | 说明 | Example |
---|---|---|---|
UsersNullable | Array<string> |
用户名列表。 |
更新用户请求所使用的参数。
属性名 | 类型 | 说明 | Example |
---|---|---|---|
FullNameNullable | string | 全名。 | |
IsEnabled | Boolean | 用户是否有效。 | |
UserNameNullable | string | 用户名。 | |
EmailNullable | string | 邮箱。 | |
ExtendedPropertiesNullable | string | 自定义属性。 |
更新用户请求所使用的参数。
属性名 | 类型 | 说明 | Example |
---|---|---|---|
UserNameNullable | string | 用户名。 | |
EmailNullable | string | 邮箱。 | |
ExtendedPropertiesNullable | string | 自定义属性。 |
重置密码请求中使用的参数。
属性名 | 类型 | 说明 | Example |
---|---|---|---|
UserNameNullable | string | 用户名。 | |
NewPasswordNullable | string | 新密码。 |
重置密码请求中使用的参数。
属性名 | 类型 | 说明 | Example |
---|---|---|---|
UserNamesNullable | Array<string> |
用户名的列表。 | |
NewPasswordNullable | string | 新密码。 |
请求返回的用户信息。
属性名 | 类型 | 说明 | Example |
---|---|---|---|
UserInfo | ResultUserInfo | ||
Result | Boolean | 请求是否成功。 | |
MessageNullable | string | 请求返回的信息。 | |
ErrorCode | int32 | 请求返回的错误码。 | |
MessagePropertiesNullable | Array |
请求返回信息中的数据。 |
请求返回的用户信息。
属性名 | 类型 | 说明 | Example |
---|---|---|---|
IsEnabled | Boolean | 用户是否有效。 | |
RolesNullable | Array<string> |
用户是否有效。 | |
OrganizationPathsNullable | Array<string> |
用户所在组织的路径。 | |
UserNameNullable | string | 用户名。 | |
FullNameNullable | string | 全名。 | |
EmailNullable | string | 电子邮箱。 | |
ExtendedPropertiesNullable | string | 扩展属性。 |
请求返回的用户信息。
属性名 | 类型 | 说明 | Example |
---|---|---|---|
UsersNullable | Array<ResultUserInfo> |
用户信息。 | |
Result | Boolean | 请求是否成功。 | |
MessageNullable | string | 请求返回的信息。 | |
ErrorCode | int32 | 请求返回的错误码。 | |
MessagePropertiesNullable | Array |
请求返回信息中的数据。 |
请求返回的角色。
属性名 | 类型 | 说明 | Example |
---|---|---|---|
RolesNullable | Array<string> |
角色列表。 | |
Result | Boolean | 请求是否成功。 | |
MessageNullable | string | 请求返回的信息。 | |
ErrorCode | int32 | 请求返回的错误码。 | |
MessagePropertiesNullable | Array |
请求返回信息中的数据。 |