I need to move groups from one enterprise portal to another. The groups are getting their members from SAML groups and I want to use the same SAML group on the target portal.
But I can't find any method in the API that returns which SAML group is used in the source group . I can get a list of users with group.get_members() or group.user_list() but not the SAML group.
I couldn't find anything in the REST API either.
The information is there, as you can edit it on the settings tab on the group.
Am I overlooking something obvious?
I'm using Enterprise 10.9.1 and ArcGIS API for Python 1.9.1
Update: I found two properties for groups, provider and providerGroupName. If the group uses SAML , provider is set to 'enterprise', but providerGroupName is still None.
Also the isInvitationOnly property is False for groups using SAML
So at least now I can check whether SAML is used and give a warning that information should be updated manually.