# tibemsConsumerInfo_IsShared

Function

## Purpose

Get the shared subscription status of the consumer.

## C Declaration

    tibems_status tibemsConsumerInfo_IsShared(
        tibemsConsumerInfo consumerInfo,
        tibems_bool* shared);

## COBOL Call

    CALL "tibemsConsumerInfo_IsShared"
     USING BY VALUE consumerInfo,
           BY REFERENCE shared,
           RETURNING tibems-status
    END-CALL.

Note: `shared` has usage pointer.

## Parameters

Parameter | Description
--- | ---
`consumerInfo` | Get the shared status of this consumer.
`shared` | Store the consumer's shared status in this location.

## Remarks

If the consumer is shared, the shared status will be set to `TRUE`. Otherwise, shared is `FALSE`.

For more information, see the section "Shared Subscriptions for Topics" in the TIBCO Enterprise Message Service User’s Guide.

## See Also

`tibemsConsumerInfo_GetSharedSubscriptionName`

Copyright © Cloud Software Group, Inc. All rights reserved.