Actions222
- Application Baseline Actions
- Attack Surface Actions
- Backup Software Actions
- EDR Actions
- Tags Actions
- PII Actions
- External Scan Actions
- Settings Actions
- Compliance Assessment Actions
- Reports Actions
- Compliance Actions
- Jobs Actions
- Active Directory Actions
- Retrieve Ad Roles
- Retrieve Ad User Licenses
- Retrieve Azure Licenses
- Retrieve Azure Ad Logs
- Retrieve Azure Secure Score
- Retrieve Ad Password Policies
- Retrieve Ad Groups View
- Retrieve Ad Ous View
- Retrieve Ad Gpos View
- Retrieve Ad Computers View
- Retrieve Ad Users View
- Retrieve Ad Domain Details
- Retrieve Ad Gpos Details
- Retrieve Get Ous Details
- Retrieve Get Groups Details
- Retrieve Ad Group Users
- Retrieve Ad Group Computers
- Retrieve Get User Details
- Retrieve Get Computer Details
- Retrieve Ad Roles Details
- Retrieve Ad Roles Member
- Retrieve Ad Basic Info
- Audit Log Actions
- Ad Audit Actions
- Asset Data Actions
- Retrieve Bios Info
- Retrieve Bio Info
- Retrieve Browser Extensions
- Retrieve Browser Extension
- Retrieve Ciphers View
- Retrieve Cipher View
- Retrieve Windows Protection Status
- Retrieve Window Protection Status
- Retrieve Asset Compliance Report Card
- Retrieve Asset Firewall Policy
- Retrieve Asset Installed Drivers
- Retrieve Asset Installed Driver
- Retrieve Asset Interface
- Retrieve Asset Msdt
- Retrieve Asset Ports
- Retrieve Asset Port
- Retrieve Asset Security Report Data
- Retrieve Asset Security Report Datum
- Retrieve Asset Shares
- Retrieve Asset Share
- Retrieve Asset Storages
- Retrieve Asset Storage
- Retrieve Asset Unqouted Services
- Retrieve Asset Unqouted Service
- Retrieve Asset User Shares
- Retrieve Asset User Share
- Retrieve Asset Video Info
- Retrieve Asset Windows Reboot Required
- Retrieve Asset Window Reboot Required
- Vulnerabilities Actions
- Firewall Actions
- Integration Actions
- Retrieve Integration Credentials
- Retrieve Integration Credential
- Create Integration Credential
- Update Integration Credential
- Delete Integration Credential
- Retrieve Integration Rules
- Retrieve Integration Rule
- Create Integration Rule
- Update Integration Rule
- Delete Integration Rule
- Retrieve Company Mappings
- Retrieve Company Mapping
- Create Company Mapping
- Update Company Mapping
- Delete Company Mapping
- Event Set Actions
- Ticket Template Actions
- Scheduler Actions
- Credentials Actions
- Asset Actions
- Retrieve Records
- Retrieve Assets
- Retrieve Asset
- Create Asset
- Update Asset
- Delete Asset
- Retrieve Asset Stats
- Retrieve Asset Stat
- Retrieve Asset View
- Retrieve Cron Jobs
- Retrieve Kernel Modules
- Retrieve Suid Permissions
- Retrieve Ufw Firewall Rules
- Retrieve Selinux Settings
- Retrieve Asset Iptables Rules
- Retrieve Asset Users
- Retrieve Asset Processes Running
- Retrieve Asset Services
- Retrieve Asset Patches Info
- Retrieve Asset Firewall Rules
- Retrieve Asset Registry Misconfiguration
- Retrieve Asset Open Ports
- Retrieve Notification Tickets View
- Retrieve System Events View
- Discovery Settings Actions
- Retrieve Discovery Settings
- Retrieve Discovery Setting
- Create Discovery Setting
- Update Discovery Setting
- Delete Discovery Setting
- Retrieve Agent Discoverysettings Mapping
- Retrieve Agent Discoverysetting Mapping
- Create Agent Discoverysetting Mapping
- Update Agent Discoverysetting Mapping
- Delete Agent Discoverysetting Mapping
- Auth Actions
- Company Actions
- Agent Actions
Overview
This node operation, Retrieve Ad Roles Member under the Active Directory resource, is designed to query and retrieve members associated with Active Directory roles. It allows users to specify filtering conditions, pagination controls, and sorting options to tailor the results. This is particularly useful in scenarios where an organization needs to programmatically access role membership information from their Active Directory for auditing, reporting, or synchronization purposes.
For example, a company might use this node to:
- Fetch all members of a specific AD role identified by its Object Guid.
- Retrieve a paginated list of role members with custom filtering conditions.
- Sort the retrieved members based on certain attributes.
Properties
| Name | Meaning |
|---|---|
| Company Id | The unique identifier of the company within which the Active Directory roles exist. |
| Object Guid | The globally unique identifier (GUID) of the Active Directory object (role) to query. |
| X USER ID | The user identifier used for authentication or tracking purposes in the request header. |
| Condition | Optional query condition string to filter the results based on specific criteria. |
| Skip | Number of records to skip for pagination purposes. |
| Limit | Maximum number of records to return in the response. |
| Order By | Field(s) by which to order the returned results. |
Output
The node outputs JSON data representing the members of the specified Active Directory role. The structure typically includes details about each member such as identifiers, names, and possibly other attributes depending on the API's response schema.
If binary data were involved (e.g., profile pictures), it would be indicated here, but this operation focuses on JSON data retrieval only.
Dependencies
- Requires an active connection to the Connect Secure API that exposes the Active Directory endpoints.
- Needs an API key or token credential configured in n8n to authenticate requests.
- The
X USER IDheader must be provided to identify the user making the request. - The node depends on the external service's availability and correct configuration of company and object GUID parameters.
Troubleshooting
- Missing or invalid credentials: Ensure the API key/token is correctly set up in n8n credentials.
- Invalid Object Guid or Company Id: Verify that the GUID and company ID correspond to existing entities in the Active Directory system.
- Empty or no results: Check the
Condition,Skip, andLimitparameters to ensure they are not overly restrictive. - API rate limits or connectivity issues: Confirm network connectivity and API usage limits.
- Incorrect
X USER IDheader: Make sure the user ID is valid and authorized to perform the query.
Links and References
- Refer to your organization's Connect Secure API documentation for detailed information on Active Directory endpoints.
- Microsoft Active Directory official documentation for understanding roles and GUIDs: https://docs.microsoft.com/en-us/windows-server/identity/ad-ds/get-started/active-directory-domain-services-overview