Sm_PolicyApi_DeleteSAMLServiceProvider()

Deletes the Service Provider identified by pszProviderOid.
casso10
Deletes the Service Provider identified by
pszProviderOid
.
Type
SAML 2.0 Configuration function, domain scope.
Syntax
int SM_EXTERN Sm_PolicyApi_DeleteSAMLServiceProvider(
void*pSessionHandle,
const char*pszProviderOid
);
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.
pszProviderOid
I
A null-terminated string containing the object identifier of an existing Service Provider.
Returns
  • Sm_PolicyApi_Success. The Service Provider was deleted successfully.
  • Sm_PolicyApi_Failure. The Service Provider was not deleted 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 delete a Service Provider.
  • Sm_PolicyApi_InvalidOID. The Service Provider's object identifier was not found.