Deletes an existing affiliate.
Type
Federation Security Services function.
Syntax
int SM_EXTERN Sm_PolicyApi_DeleteAffiliate ( void* pSessionHandle, const char* pszAffiliateOid );
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. |
pszAffiliateOid |
I |
A null-terminated string containing the object identifier of an existing affiliate. |
Remarks
This function deletes affiliate objects that are based on the artifact profile or the POST profile (see the Sm_PolicyApi_Affiliate_t field SAMLProfile). Deletion of an affiliate object based on the POST profile requires an API version of at least SM_POLICY_API_VERSION_6_0_2. If an earlier version is involved, and the function specifies an affiliate object based on a POST profile, the request fails.
Returns
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |