Using the Authentication Manager SDK to search for users or groups in All Identity Sources
Originally Published: 2021-04-16
Last Modified: 2022-06-20
Article Number
Applies To
RSA Product/Service Type: Authentication Manager SDK
RSA Version/Condition: 8.x
Issue
- RSA Authentication Manager SDK Documentation states that the special GUID Global.ALL_IDENTITY_SOURCES_ID may be specified within the SearchPrincipalsCommand, to search all identity sources instead of specifying the GUID of one identity source.
- The special GUID Global.ALL_IDENTITY_SOURCES_ID will work if there is Java, but for other coding languages, this value does not exist.
Resolution
As an example, when connecting to the WSDL of the RSA Authentication Manager:
$SystemFilter = New-Object mjb.Filter
$SystemFilter.comp = New-Object mjb.Empty
$SearchPrincipalsCommand = New-Object mjb.SearchPrincipalsCommand
$SearchPrincipalsCommand.limit = 100
$SearchPrincipalsCommand.identitySourceGuid = 'ims.0000-ID-Source-All-0000'
$SearchPrincipalsCommand.securityDomainGuid = 'ims.000000000000000000001000e0011000'
$SearchPrincipalsCommand.systemFilter = $SystemFilter
$SearchPrincipalsCommand.searchSubDomains = $true
$SearchPrincipalsCommand = $CommandServer.executeCommand($loginCommand.sessionId, $SearchPrincipalsCommand)
Related Articles
Search for User Requests 5Number of Views Search Users Based on Risk-Based Authentication Settings 3Number of Views Search for a Token In Your Deployment 7Number of Views XudaJurisdictionGetCA() call returns XrcNOTFOUND even though the CA object exists 15Number of Views Replica will not Authenticate Multiple Authentications 26Number of Views
Trending Articles
RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide RSA Authentication Manager 8.1 Quick Setup Fails with "Failed to Attach Replica Instance" User Application Portal How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device The RSA Identity Governance & Lifecycle AD Collector and AD ADC authentication source fail to establish a TLS 1.2 SSL conn…
Don't see what you're looking for?