Sm_PolicyApi_AddOneTimeUsePropToAffiliate()

The function adds and updates the OneTimeUse property for an assertion in a SAML 1.x affiliate.
casso126
The function adds and updates the OneTimeUse property for an assertion in a SAML 1.x affiliate.
Syntax
int SM_EXTERN Sm_PolicyApi_AddOneTimeUsePropToAffiliate(
void*pHandle,
char*    pszAffiliateOID,
bool bOneTimeUse
 
);
Parameters
  • pHandle
    [in] A pointer to an internal Policy Management API data structure
    The structure holds information about the administrator session and the client session.
  • pszAffiliateOid
    [in] A pointer to the OID of an existing SMAL 1.x affiliate
  • bOneTimeUse
    [in] A Boolean value that specifies whether an assertion is used only once in this affiliate
Returns
  • Sm_PolicyApi_Success
    The action was completed successfully
  • Sm_PolicyApi_Failure
    The action was unsuccessful.
  • Sm_PolicyApi_NoSession
    No valid initialization before this call
  • Sm_PolicyApi_NoPrivilege
    The administrator did not have sufficient access privileges