Get user fields structure
Gets the structure of user description fields
- Parameters
- Advanced call ?
Function GetUserFieldsStructure(Val Clear = False, Val AsMap = False) Export
| Parameter | CLI option | Type | Required | Description |
|---|---|---|---|---|
| Clear | --empty | Boolean | ✖ | True > structure with empty valuse, False > field descriptions at values |
| AsMap | --map | Boolean | ✖ | True > returns the filter fields as a map |
Returns
Structure Of KeyAndValue - Fields structure
| Parameter | Description |
|---|---|
| dontwait | Creates a background job and returns its data (for 1C and OneScript only) |
1C:Enterprise/OneScript code example
Result = OPI_ReportPortal.GetUserFieldsStructure();
- Bash
- CMD/Bat
oint rportal GetUserFieldsStructure \
--empty true
oint rportal GetUserFieldsStructure ^
--empty true
Result
{
"active": "<user activity status>",
"login": "<user login>",
"password": "***",
"fullName": "<full name>",
"email": "<email address>",
"accountRole": "<account role: USER, ADMINISTRATOR>",
"projectRole": "<project role: CUSTOMER, MEMBER, PROJECT_MANAGER>",
"defaultProject": "<default project>"
}