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

am_properties_is_set()

Determines whether the specified key of the specified properties object contains a value.

Details

am_properties_is_set() does not return the value.

Syntax

#include "am_properties.h"
AM_EXPORT boolean_t
am_properties_is_set(am_properties_t properties,
                     const char *key);

Parameters

This function takes the following parameters:

properties

The specified properties object.

key

Pointer to the name of a key.

Returns

This function returns one of the following values of the boolean_t enumeration (defined in the standard <types.h> header file):

!0

If the property has a value.

0

Otherwise