Sm_PolicyApi_GetAllSAMLAffiliations()

Retrieves all existing SAML affiliation objects.
casso126
Retrieves all existing SAML affiliation objects.
Type
SAML 2.0 Configuration function, global scope.
Syntax
int SM_EXTERN Sm_PolicyApi_GetAllSAMLAffiliations
(
void*pSessionHandle,
Sm_PolicyApi_SAMLAffiliation_t**ppstructAffiliations
);
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.
ppstruct
Affiliations
O
The address of a pointer to SAML affiliation structures.
Returns
  • Sm_PolicyApi_Success. The SAML affiliations were retrieved successfully.
  • Sm_PolicyApi_Failure. The SAML affiliations 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 affiliations.