POST api/GetUsersInUserGroup
Gets information about users assigned to user group (profile scope required)
Request Information
URI Parameters
None.
Body Parameters
GetUsersInUserGroupRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| KnownSearchFields | Collection of string |
None. |
|
| KnownSortFields | Collection of string |
None. |
|
| UserGroupId | globally unique identifier |
None. |
|
| PageSize | integer |
None. |
|
| PageIndex | integer |
None. |
|
| SearchBy | Collection of Filter |
None. |
|
| SortBy | Collection of Sort |
None. |
Request Formats
application/xml, text/xml
Sample:
<GetUsersInUserGroupRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Requests.Users">
<KnownSearchFields xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">
<d2p1:string>FirstName</d2p1:string>
<d2p1:string>LastName</d2p1:string>
<d2p1:string>UserId</d2p1:string>
<d2p1:string>FullName</d2p1:string>
<d2p1:string>UserName</d2p1:string>
<d2p1:string>RoleId</d2p1:string>
<d2p1:string>RoleName</d2p1:string>
</KnownSearchFields>
<KnownSortFields xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">
<d2p1:string>FirstName</d2p1:string>
<d2p1:string>LastName</d2p1:string>
<d2p1:string>UserId</d2p1:string>
<d2p1:string>FullName</d2p1:string>
<d2p1:string>UserName</d2p1:string>
<d2p1:string>RoleId</d2p1:string>
<d2p1:string>RoleName</d2p1:string>
</KnownSortFields>
<PageIndex xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">3</PageIndex>
<PageSize xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">2</PageSize>
<SearchBy xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">
<Filter>
<Key>sample string 1</Key>
<Type>None</Type>
<Value />
</Filter>
<Filter>
<Key>sample string 1</Key>
<Type>None</Type>
<Value />
</Filter>
</SearchBy>
<SortBy xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">
<Sort>
<Key>sample string 1</Key>
<Order>None</Order>
</Sort>
<Sort>
<Key>sample string 1</Key>
<Order>None</Order>
</Sort>
</SortBy>
<UserGroupId>00291ce7-0ba8-4316-9c5e-e4c7fa1e7aa2</UserGroupId>
</GetUsersInUserGroupRequest>
application/json, text/json
Sample:
{
"KnownSearchFields": [
"FirstName",
"LastName",
"UserId",
"FullName",
"UserName",
"RoleId",
"RoleName"
],
"KnownSortFields": [
"FirstName",
"LastName",
"UserId",
"FullName",
"UserName",
"RoleId",
"RoleName"
],
"UserGroupId": "00291ce7-0ba8-4316-9c5e-e4c7fa1e7aa2",
"PageSize": 2,
"PageIndex": 3,
"SearchBy": [
{
"Key": "sample string 1",
"Value": {},
"Type": 0
},
{
"Key": "sample string 1",
"Value": {},
"Type": 0
}
],
"SortBy": [
{
"Key": "sample string 1",
"Order": 0
},
{
"Key": "sample string 1",
"Order": 0
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Returns users in user group
ApiCollectionResponseOfGetUsersInUserGroupResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| PageSize | integer |
None. |
|
| PageIndex | integer |
None. |
|
| Total | integer |
None. |
|
| SearchBy | Collection of Filter |
None. |
|
| SortBy | Collection of Sort |
None. |
|
| Data | Collection of GetUsersInUserGroupResponse |
None. |
|
| Errors | Collection of string |
None. |
Response Formats
application/xml, text/xml
Sample:
<ApiCollectionResponseOfGetUsersInUserGroupResponsedU_PB272I xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Alice.Dto.Responses.User">
<d2p1:GetUsersInUserGroupResponse>
<d2p1:FirstName>sample string 1</d2p1:FirstName>
<d2p1:FullName>sample string 3</d2p1:FullName>
<d2p1:LastName>sample string 2</d2p1:LastName>
<d2p1:RoleId>d537c4d9-f83f-4bbf-8bc5-1b1da9c5e9ff</d2p1:RoleId>
<d2p1:RoleName>sample string 6</d2p1:RoleName>
<d2p1:UserGroupId>82b0828d-1480-4de8-b12d-c58397122c52</d2p1:UserGroupId>
<d2p1:UserGroupName>sample string 8</d2p1:UserGroupName>
<d2p1:UserId>43517d7a-1807-4f67-b5dc-1d65332dee21</d2p1:UserId>
<d2p1:UserName>sample string 5</d2p1:UserName>
</d2p1:GetUsersInUserGroupResponse>
<d2p1:GetUsersInUserGroupResponse>
<d2p1:FirstName>sample string 1</d2p1:FirstName>
<d2p1:FullName>sample string 3</d2p1:FullName>
<d2p1:LastName>sample string 2</d2p1:LastName>
<d2p1:RoleId>d537c4d9-f83f-4bbf-8bc5-1b1da9c5e9ff</d2p1:RoleId>
<d2p1:RoleName>sample string 6</d2p1:RoleName>
<d2p1:UserGroupId>82b0828d-1480-4de8-b12d-c58397122c52</d2p1:UserGroupId>
<d2p1:UserGroupName>sample string 8</d2p1:UserGroupName>
<d2p1:UserId>43517d7a-1807-4f67-b5dc-1d65332dee21</d2p1:UserId>
<d2p1:UserName>sample string 5</d2p1:UserName>
</d2p1:GetUsersInUserGroupResponse>
</Data>
<Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Errors>
<PageIndex>2</PageIndex>
<PageSize>1</PageSize>
<SearchBy>
<Filter>
<Key>sample string 1</Key>
<Type>None</Type>
<Value />
</Filter>
<Filter>
<Key>sample string 1</Key>
<Type>None</Type>
<Value />
</Filter>
</SearchBy>
<SortBy>
<Sort>
<Key>sample string 1</Key>
<Order>None</Order>
</Sort>
<Sort>
<Key>sample string 1</Key>
<Order>None</Order>
</Sort>
</SortBy>
<Total>3</Total>
</ApiCollectionResponseOfGetUsersInUserGroupResponsedU_PB272I>
application/json, text/json
Sample:
{
"PageSize": 1,
"PageIndex": 2,
"Total": 3,
"SearchBy": [
{
"Key": "sample string 1",
"Value": {},
"Type": 0
},
{
"Key": "sample string 1",
"Value": {},
"Type": 0
}
],
"SortBy": [
{
"Key": "sample string 1",
"Order": 0
},
{
"Key": "sample string 1",
"Order": 0
}
],
"Data": [
{
"FirstName": "sample string 1",
"LastName": "sample string 2",
"FullName": "sample string 3",
"UserId": "43517d7a-1807-4f67-b5dc-1d65332dee21",
"UserName": "sample string 5",
"RoleName": "sample string 6",
"RoleId": "d537c4d9-f83f-4bbf-8bc5-1b1da9c5e9ff",
"UserGroupId": "82b0828d-1480-4de8-b12d-c58397122c52",
"UserGroupName": "sample string 8"
},
{
"FirstName": "sample string 1",
"LastName": "sample string 2",
"FullName": "sample string 3",
"UserId": "43517d7a-1807-4f67-b5dc-1d65332dee21",
"UserName": "sample string 5",
"RoleName": "sample string 6",
"RoleId": "d537c4d9-f83f-4bbf-8bc5-1b1da9c5e9ff",
"UserGroupId": "82b0828d-1480-4de8-b12d-c58397122c52",
"UserGroupName": "sample string 8"
}
],
"Errors": [
"sample string 1",
"sample string 2"
]
}