Sun OpenSSO Enterprise 8.0 C API Reference for Application and Web Policy Agent Developers

am_policy_is_notification_enabled()

Checks whether the notification functionality is enabled.

Syntax

#include "am_policy.h"
AM_EXPORT boolean_t
am_policy_is_notification_enabled(am_policy_t policy_handle);

Parameters

This function takes the following parameter:

policy_handle

Integer specifying the object being evaluated.

Returns

This function returns the standard boolean_t with one of the following values:

0

If notification is disabled.

non-zero

If notification is enabled.