Sm_PolicyApi_GetAllWSFEDResourcePartners()

Retrieves all existing Resource Partner objects.
casso127
Retrieves all existing Resource Partner objects.
Syntax
int SM_EXTERN Sm_PolicyApi_GetAllWSFEDResourcePartners (
        void* pSessionHandle,
        const char * pszAffiliateDomainOid,
        Sm_PolicyApi_WSFEDResourcePartner_t** ppResourcePartners
);
Parameters
  • pSessionHandle
    [in] A pointer to an internal Policy Management API data structure. The structure holds information about the administrator session and the client session.
  • pszAffiliateDomainOid
    [in] A null-terminated string containing the object identifier of an existing affiliate domain.
  • ppResourcePartners
    [out] The address of the pointer to WS-Federation Resource Partner structures.
Return Values
  • Sm_PolicyApi_Success. The Resource Partner was retrieved successfully.
  • Sm_PolicyApi_Failure. The Resource Partner was 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 an affiliate.
  • Sm_PolicyApi_InvalidOID. The affiliate domain OID was not found.