# Get a security group member with the automation API
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<../../api-reference/v2.0/enabling-apis-for-dynamics-nav>.
```http
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.
```http
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.
```json
{
    "securityGroupCode": "FINANCE",
    "userSecurityId": "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb",
    "securityGroupName": "Finance",
    "userName": "alex@contoso.com",
    "userFullName": "Alex Wilber"
}
```
## Related information
Tips for working with the APIs<../../developer/devenv-connect-apps-tips>
Security group member<../resources/dynamics_securitygroupmember>

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/api/dynamics_securitygroupmember_get, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/administration/api/dynamics_securitygroupmember_get/
