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 use the VBScript sample script of RSA Authentication Manager 8.x SDK 77Number of Views RSA Authentication Manager SDK 8.5 (for Java) failed on startup with a "CRED_MISMATCH" error 287Number of Views v7.0.0 installation fails during configuring wildfly Failed to set session cookie. Error message - Unable to connect to co… 58Number of Views Utilize Authentication Manager SDK 8.0 in non-weblogic environment 179Number of Views A change request to remove role access from a user tries to remove AD group (indirect access from role) which no longer ex… 49Number of Views
Trending Articles
RSA Authentication Manager Upgrade Process RSA Release Notes for RSA Authentication Manager 8.8 RSA RADIUS Server service failed to start in the RSA Authentication Manager 8.1 Operations Console Microsoft Entra ID External MFA - Relying Party Configuration Using OIDC - RSA Ready Implementation Guide RSA Release Notes: Cloud Access Service and RSA Authenticators
Don't see what you're looking for?