Using the Authentication Manager SDK to search for users or groups in All Identity Sources
Originally Published: 2021-04-16
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
How to map real-world identity sources and directory servers to your RSA SecurID Access Cloud Authentication Service confi… 93Number of Views How to perform a consistently successful replica package distribution 45Number of Views RSA Authentication Manager SDK 8.5 (for Java) failed on startup with a "CRED_MISMATCH" error 288Number of Views How to enable DEBUG logging to show SQL queries generated by RSA Identity Governance & Lifecycle 98Number of Views Migrating users across identity sources in RSA Authentication Manager 8.x 1.94KNumber of Views
Trending Articles
RSA Release Notes for RSA Authentication Manager 8.8 RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide RSA Authentication Manager Upgrade Process Authentication Manager Security Console and Operations Console Inaccessible After Certificate Update RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide
Don't see what you're looking for?