[]
Get all users' information.
Parameters
| Name | Type | Located In | Description | Example |
|---|---|---|---|---|
| PageSize | int32 | query | The page size. | 20 |
| PageNumber | int32 | query | The page number. | 1 |
| SearchText | string | query | The search text. | "admin" |
| OrderBy | string | query | The ordered field. | "UserName" |
| OrderType | OrderType | query | The order type, available values are "ASC" and "DESC". | "ASC" |
| Paging | Boolean | query | Whether pagination or not. | true |
| SearchType | SearchType | query | The search type, available values are "None" and "Count". | "None" |
Response
Status Code: 200
Success
Add a new user.
Request Schema
Response
Status Code: 200
Success
Get all local users.
Parameters
| Name | Type | Located In | Description | Example |
|---|---|---|---|---|
| PageSize | int32 | query | The page size. | 20 |
| PageNumber | int32 | query | The page number. | 1 |
| SearchText | string | query | The search text. | "admin" |
| OrderBy | string | query | The ordered field. | "UserName" |
| OrderType | OrderType | query | The order type, available values are "ASC" and "DESC". | "ASC" |
| Paging | Boolean | query | Whether pagination or not. | true |
| SearchType | SearchType | query | The search type, available values are "None" and "Count". | "None" |
Response
Status Code: 200
Success
Get user by id.
Parameters
| Name | Type | Located In | Description |
|---|---|---|---|
| idRequired | string | path |
Response
Status Code: 200
Success
Update user information.
Parameters
| Name | Type | Located In | Description |
|---|---|---|---|
| idRequired | string | path | |
| ignoreRoles | Boolean | query |
Request Schema
Response
Status Code: 200
Success
Remove a exist user.
Parameters
| Name | Type | Located In | Description |
|---|---|---|---|
| idRequired | string | path |
Response
Status Code: 200
Success
Delete the specified users.
Request Schema
Response
Status Code: 200
Success
Get a user's roles
Parameters
| Name | Type | Located In | Description |
|---|---|---|---|
| idRequired | string | path |
Response
Status Code: 200
Success
Enable/Disable user.
Parameters
| Name | Type | Located In | Description |
|---|---|---|---|
| idRequired | string | path |
Request Schema
boolean
Response
Status Code: 200
Success
Change user password.
Parameters
| Name | Type | Located In | Description |
|---|---|---|---|
| idRequired | string | path |
Request Schema
password
Response
Status Code: 200
Success
Check user password.
Parameters
| Name | Type | Located In | Description |
|---|---|---|---|
| idRequired | string | path |
Request Schema
password
Response
Status Code: 200
Success
Change user password.
Request Schema
Response
Status Code: 200
Success
Import users.
Response
Status Code: 200
Success
Export all users' information.
Response
Status Code: 200
Success
Export user information template.
Response
Status Code: 200
Success
Get the user template file to check the detailed error information.
Parameters
| Name | Type | Located In | Description |
|---|---|---|---|
| keyRequired | string | path | The key of user template file. |
Response
Status Code: 200
Success
Remove the useless user template file.
Parameters
| Name | Type | Located In | Description |
|---|---|---|---|
| keyRequired | string | path | The key of user template file. |
Response
Status Code: 200
Success
Get locked users.
Response
Status Code: 200
Success
Unlock user by id.
Parameters
| Name | Type | Located In | Description |
|---|---|---|---|
| idRequired | string | path |
Response
Status Code: 200
Success
Reset the password of user 'Admin'.
Request Schema
Response
Status Code: 200
Success
Get available user context.
Response
Status Code: 200
Success
Get current user's claims.
Response
Status Code: 200
Success
Add or update the user avatar.
Response
Status Code: 200
Success
Get current user profile info.
Response
Status Code: 200
Success
Update current user profile info.
Request Schema
Response
Status Code: 200
Success
Get the roles that the current logged in user can share documents to.
Response
Status Code: 200
Success
Get the permissions of the specified user.
Parameters
| Name | Type | Located In | Description |
|---|---|---|---|
| idRequired | string | path | User id. |
Response
Status Code: 200
Success
Get all the permissions of the specified user.
Parameters
| Name | Type | Located In | Description |
|---|---|---|---|
| nameRequired | string | path | User name. |
Response
Status Code: 200
Success
Get all the organizations the current user belongs to.
Response
Status Code: 200
Success
Request Schema
Response
Status Code: 200
Success
Get all the organizations the current user belongs to.
Response
Status Code: 200
Success
Request Schema
Response
Status Code: 200
Success
Switch the organization to which the currently logged-in user belongs.
Request Schema
Response
Status Code: 200
Success
Switch the organization to which the currently logged-in user belongs.
Request Schema
Response
Status Code: 200
Success
Get all the users that do not belong to any organization.
Response
Status Code: 200
Success
Get all the users that do not belong to any organization.
Response
Status Code: 200
Success
Set the default tenant which the user can directly log in to.
Request Schema
Response
Status Code: 200
Success
Response
Status Code: 200
Success
Set the default tenant which the user can directly log in to.
Request Schema
Response
Status Code: 200
Success
Response
Status Code: 200
Success
Enum:
ASCDESCThe order type.
Enum:
NoneCountThe search type for searching records.
| Name | Type | Description | Example |
|---|---|---|---|
| idNullable | string | ||
| usernameNullable | string | ||
| firstNameNullable | string | ||
| lastNameNullable | string | ||
| fullNameNullable | string | ||
| emailNullable | string | ||
| mobileNullable | string | ||
| passwordNullable | string | ||
| providerNullable | string | ||
| enabled | Boolean | ||
| tenantIdNullable | string | ||
| managerIdNullable | string | ||
| rolesNullable | Array<string> |
||
| customizePropertyInfoNullable | Array<string> |
| Name | Type | Description | Example |
|---|---|---|---|
| userIdsNullable | Array<string> |
| Name | Type | Description | Example |
|---|---|---|---|
| oldPasswordNullable | string | ||
| newPasswordNullable | string | ||
| newPasswordConfirmNullable | string |
| Name | Type | Description | Example |
|---|---|---|---|
| tokenNullable | string | ||
| passwordNullable | string |
| Name | Type | Description | Example |
|---|---|---|---|
| firstNameNullable | string | ||
| lastNameNullable | string | ||
| fullNameNullable | string | ||
| mobileNullable | string | ||
| customizePropertyInfoNullable | Array<string> |
| Name | Type | Description | Example |
|---|---|---|---|
| userNameNullable | string | ||
| passwordNullable | string |
| Name | Type | Description | Example |
|---|---|---|---|
| tenantIdNullable | string |