cURL
curl --request GET \ --url https://apigw.bienport.com/api/role/user/{userId}/privilege-groups \ --header 'Authorization: <authorization>' \ --header 'OrganizationId: <organizationid>'
{ "userId": 20199, "userPrivilegeValidity": { "id": 147, "accessibleDays": [ { "dayOfWeek": 3, "start": 155000, "end": 451000 } ], "expiration": 1646639127000, "validityStart": 1678088727000 }, "userPrivilegeGroups": [ { "id": 268, "privilegeGroupId": 2, "authority": true, "scopePk": 31547 } ] }
Access Token
Organization ID
userId
User Privilege Groups and Validities Response.
User ID.
20199
Show child attributes
User privilege validity ID.
147
Accessible days for privilege.
Number of days per week by locale
3
Privilege start time (Epoch Second)
155000
Privilege end time (Epoch Second)
451000
Expiration time epoch millis type.
1646639127000
Validity start time epoch millis type.
1678088727000
User privilege groups.
User Privilege Group ID
268
Privilege Group ID
2
Privilege group access status.
true
Id of the organization or site that the user belongs to.
31547