Sm_PolicyApi_GetAffiliatedSAMLAuthSchemes()
Retrieves all the SAML authentication schemes associated with the specified SAML affiliation.
casso127
Retrieves all the SAML authentication schemes associated with the specified SAML affiliation.
Type
SAML 2.0 Configuration function, global scope.
Syntax
int SM_EXTERN Sm_PolicyApi_GetAffiliatedSAMLAuthSchemes(void*pSessionHandle,const char*pszAffiliationOid,Sm_PolicyApi_Scheme_t**ppstructSchemes);
Parameter | I/O | Description |
pSessionHandle
| I | A pointer to an internal Policy Management API data structure. The structure holds information about the administrator session and the client session. |
pszAffiliationOid
| I | A null-terminated string containing the object identifier of an existing SAML affiliation. |
ppstructSchemes
| O | The address of a pointer to SAML authentication scheme structures. |
Returns
- Sm_PolicyApi_Success. The SAML authentication schemes were retrieved successfully.
- Sm_PolicyApi_Failure. The SAML authentication schemes were not retrieved successfully.
- Sm_PolicyApi_InvalidHandle. There was no valid initialization prior to this call.
- Sm_PolicyApi_NoSession. There is no valid administrator session.
- Sm_PolicyApi_NoPrivilege. The administrator does not have the privilege to retrieve SAML authentication schemes.
- Sm_PolicyApi_InvalidOID. The SAML affiliation object identifier was not found.