GET api/UserManager/GetUsers

Getting user list

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Returns list of users groupped by roles.

DaminionUsers
NameDescriptionTypeAdditional information
List

List of users groupped by roles

Collection of UsersList

None.

TotalCount

Total number of items in the list

integer

None.

Error

Error description if the operation failed

string

None.

Success

Operation result

boolean

None.

ErrorCode

Error code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "list": [
    {
      "role": "sample string 1",
      "list": [
        {
          "name": "sample string 1",
          "grantConnection": true,
          "id": "sample string 3",
          "fullName": "sample string 4",
          "password": "sample string 5",
          "role": "sample string 6",
          "roleInt": 7,
          "enable": true,
          "error": "sample string 9",
          "success": true,
          "errorCode": 11
        },
        {
          "name": "sample string 1",
          "grantConnection": true,
          "id": "sample string 3",
          "fullName": "sample string 4",
          "password": "sample string 5",
          "role": "sample string 6",
          "roleInt": 7,
          "enable": true,
          "error": "sample string 9",
          "success": true,
          "errorCode": 11
        }
      ]
    },
    {
      "role": "sample string 1",
      "list": [
        {
          "name": "sample string 1",
          "grantConnection": true,
          "id": "sample string 3",
          "fullName": "sample string 4",
          "password": "sample string 5",
          "role": "sample string 6",
          "roleInt": 7,
          "enable": true,
          "error": "sample string 9",
          "success": true,
          "errorCode": 11
        },
        {
          "name": "sample string 1",
          "grantConnection": true,
          "id": "sample string 3",
          "fullName": "sample string 4",
          "password": "sample string 5",
          "role": "sample string 6",
          "roleInt": 7,
          "enable": true,
          "error": "sample string 9",
          "success": true,
          "errorCode": 11
        }
      ]
    }
  ],
  "totalCount": 1,
  "error": "sample string 2",
  "success": true,
  "errorCode": 4
}

application/xml, text/xml

Sample:
<DaminionUsers xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAMClient.Models">
  <_x003C_ErrorCode_x003E_k__BackingField>4</_x003C_ErrorCode_x003E_k__BackingField>
  <_x003C_Error_x003E_k__BackingField>sample string 2</_x003C_Error_x003E_k__BackingField>
  <_x003C_Success_x003E_k__BackingField>true</_x003C_Success_x003E_k__BackingField>
  <TotalCount>1</TotalCount>
  <List>
    <UsersList>
      <List>
        <UserData>
          <_x003C_ErrorCode_x003E_k__BackingField>11</_x003C_ErrorCode_x003E_k__BackingField>
          <_x003C_Error_x003E_k__BackingField>sample string 9</_x003C_Error_x003E_k__BackingField>
          <_x003C_Success_x003E_k__BackingField>true</_x003C_Success_x003E_k__BackingField>
          <Enable>true</Enable>
          <FullName>sample string 4</FullName>
          <GrantConnection>true</GrantConnection>
          <Id>sample string 3</Id>
          <Name>sample string 1</Name>
          <Password>sample string 5</Password>
          <Role>sample string 6</Role>
          <RoleInt>7</RoleInt>
        </UserData>
        <UserData>
          <_x003C_ErrorCode_x003E_k__BackingField>11</_x003C_ErrorCode_x003E_k__BackingField>
          <_x003C_Error_x003E_k__BackingField>sample string 9</_x003C_Error_x003E_k__BackingField>
          <_x003C_Success_x003E_k__BackingField>true</_x003C_Success_x003E_k__BackingField>
          <Enable>true</Enable>
          <FullName>sample string 4</FullName>
          <GrantConnection>true</GrantConnection>
          <Id>sample string 3</Id>
          <Name>sample string 1</Name>
          <Password>sample string 5</Password>
          <Role>sample string 6</Role>
          <RoleInt>7</RoleInt>
        </UserData>
      </List>
      <Role>sample string 1</Role>
    </UsersList>
    <UsersList>
      <List>
        <UserData>
          <_x003C_ErrorCode_x003E_k__BackingField>11</_x003C_ErrorCode_x003E_k__BackingField>
          <_x003C_Error_x003E_k__BackingField>sample string 9</_x003C_Error_x003E_k__BackingField>
          <_x003C_Success_x003E_k__BackingField>true</_x003C_Success_x003E_k__BackingField>
          <Enable>true</Enable>
          <FullName>sample string 4</FullName>
          <GrantConnection>true</GrantConnection>
          <Id>sample string 3</Id>
          <Name>sample string 1</Name>
          <Password>sample string 5</Password>
          <Role>sample string 6</Role>
          <RoleInt>7</RoleInt>
        </UserData>
        <UserData>
          <_x003C_ErrorCode_x003E_k__BackingField>11</_x003C_ErrorCode_x003E_k__BackingField>
          <_x003C_Error_x003E_k__BackingField>sample string 9</_x003C_Error_x003E_k__BackingField>
          <_x003C_Success_x003E_k__BackingField>true</_x003C_Success_x003E_k__BackingField>
          <Enable>true</Enable>
          <FullName>sample string 4</FullName>
          <GrantConnection>true</GrantConnection>
          <Id>sample string 3</Id>
          <Name>sample string 1</Name>
          <Password>sample string 5</Password>
          <Role>sample string 6</Role>
          <RoleInt>7</RoleInt>
        </UserData>
      </List>
      <Role>sample string 1</Role>
    </UsersList>
  </List>
</DaminionUsers>
bool hasModels = Model.ParameterModels.Count > 0; if (hasModels) {

Parameter Information

}