GetUsersFromGroup
≥4.6
接口功能
获取指定 Group 下的用户信息
请求参数
参数 | 类型 | 说明 |
---|---|---|
GroupName | String | 指定 Group 名称,大小写敏感 |
PageIndex | int | 页码 |
PageSize | int | 每页数量 |
WithSubGroupUser | bool | 是否包含子组中的用户,默认true |
[warning] 注意
为控制接口性能及返回数据量,本接口限制 PageSize 最大值为 100。超过最大值接口会强制返回100条数据。
返回数据类型
参考返回示例
输入示例
{
"GroupName":"DemoGroup",
"PageIndex":1,
"PageSize":5,
"WithSubGroupUser":false
}
返回示例
{
"StatusCode": 200,
"Info": "Request (or process) succeeded",
"Data": [
{
"OfficeCode": null,
"CurrOfficeCode": null,
"CountryCode": null,
"LoS": null,
"LoSCode": null,
"Location": null,
"OUCode": null,
"OU": null,
"GradeCode": null,
"Grade": null,
"EntityGroupCode": null,
"CurrGroupCode": null,
"CurrEntityCode": null,
"IsProfessional": null,
"JobTitle": null,
"NotesID": null,
"TermDate": null,
"Email": "demo@digitalmaker.com",
"FirstName": null,
"LastName": null,
"OrganizationCode": "DemoTenant",
"Phone": "888",
"UserName": "DemoUser",
"UserID": "b8859dae-aea4-4947-bc97-b5c9c59b1440",
"StaffCode": "##190111030237723",
"Avatar": null,
"ActiveFlag": "true"
},
{
"OfficeCode": null,
"CurrOfficeCode": null,
"CountryCode": null,
"LoS": null,
"LoSCode": null,
"Location": null,
"OUCode": null,
"OU": null,
"GradeCode": null,
"Grade": null,
"EntityGroupCode": null,
"CurrGroupCode": null,
"CurrEntityCode": null,
"IsProfessional": null,
"JobTitle": null,
"NotesID": null,
"TermDate": null,
"Email": "demo1@digitalmaker.com",
"FirstName": null,
"LastName": null,
"OrganizationCode": "DemoTenant",
"Phone": "888",
"UserName": "DemoUser1",
"UserID": "6c980b97-6c5f-4583-b970-f661b9069c6e",
"StaffCode": "##190111030743542",
"Avatar": null,
"ActiveFlag": "true"
},
{
"OfficeCode": null,
"CurrOfficeCode": null,
"CountryCode": null,
"LoS": null,
"LoSCode": null,
"Location": null,
"OUCode": null,
"OU": null,
"GradeCode": null,
"Grade": null,
"EntityGroupCode": null,
"CurrGroupCode": null,
"CurrEntityCode": null,
"IsProfessional": null,
"JobTitle": null,
"NotesID": null,
"TermDate": null,
"Email": "demo2@digitalmaker.com",
"FirstName": null,
"LastName": null,
"OrganizationCode": "DemoTenant",
"Phone": "888",
"UserName": "DemoUser2",
"UserID": "420e8692-814b-491a-96c3-af63ea2a3ec1",
"StaffCode": "##190111030819430",
"Avatar": null,
"ActiveFlag": "true"
},
{
"OfficeCode": null,
"CurrOfficeCode": null,
"CountryCode": null,
"LoS": null,
"LoSCode": null,
"Location": null,
"OUCode": null,
"OU": null,
"GradeCode": null,
"Grade": null,
"EntityGroupCode": null,
"CurrGroupCode": null,
"CurrEntityCode": null,
"IsProfessional": null,
"JobTitle": null,
"NotesID": null,
"TermDate": null,
"Email": "demo3@digitalmaker.com",
"FirstName": null,
"LastName": null,
"OrganizationCode": "DemoTenant",
"Phone": "888",
"UserName": "DemoUser3",
"UserID": "35b9263c-2199-45eb-8f35-885efda8557b",
"StaffCode": "##190111030859912",
"Avatar": null,
"ActiveFlag": "true"
},
{
"OfficeCode": null,
"CurrOfficeCode": null,
"CountryCode": null,
"LoS": null,
"LoSCode": null,
"Location": null,
"OUCode": null,
"OU": null,
"GradeCode": null,
"Grade": null,
"EntityGroupCode": null,
"CurrGroupCode": null,
"CurrEntityCode": null,
"IsProfessional": null,
"JobTitle": null,
"NotesID": null,
"TermDate": null,
"Email": "demo@digitalmaker.com",
"FirstName": null,
"LastName": null,
"OrganizationCode": "DemoTenant",
"Phone": "888",
"UserName": "DemoUser",
"UserID": "3a920db8-695c-4ca1-934b-ab47bd871cd8",
"StaffCode": "##190111031015539",
"Avatar": null,
"ActiveFlag": "true"
}
]
}