PK_ENTITY_ask_owning_groups   

PK_ERROR_code_t    PK_ENTITY_ask_owning_groups
(
--- received arguments ---
PK_ENTITY_t        entity,          --- an entity

--- returned arguments ---
int         *const n_groups,        --- number of groups (>=0)
PK_GROUP_t **const groups           --- groups (optional)
)


This function returns the set of groups of which the given entity is a member.

NOTE: This function is deprecated and has been superseded by
PK_ENTITY_ask_owning_groups_2.


The output array 'groups' is optional. If it is set to NULL, the function
will only compute the number of groups of which the entity is a member.