Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Get the properties and relationships of a security group member in Business Central.
HTTP request
Replace the URL prefix for Business Central depending on environment following the guideline.
GET /microsoft/automation/v2.0/companies({companyId})/securityGroupMembers(securityGroupCode='{securityGroupCode}',userSecurityId={userSecurityId})
Request headers
| Header | Value |
|---|---|
| Authorization | Bearer {token}. Required. |
Request body
Don't supply a request body for this method.
Response
If successful, this method returns a 200 OK response code and a securityGroupMember object in the response body.
Example
Request
Here's an example of the request.
GET https://api.businesscentral.dynamics.com/v2.0/{environment name}/api/microsoft/automation/v2.0/companies({companyId})/securityGroupMembers(securityGroupCode='{securityGroupCode}',userSecurityId={userSecurityId})
Response
Here's an example of the response.
{
"securityGroupCode": "FINANCE",
"userSecurityId": "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb",
"securityGroupName": "Finance",
"userName": "alex@contoso.com",
"userFullName": "Alex Wilber"
}