events.isMediaInGroup

Syntax

bool events.isMediaInGroup ( int groupID, int mediaID )

Argument Info

NameTypeRequiredDefault valueDescription
groupIDintRequirednoneThe ID of the group that you want to search the media in.
mediaIDintRequirednoneThe media ID you want to check if it is a member of the specified group.

Response

The response will contain 1 if the media item is in the specified group ID.

NameTypeDescriptionSuccessERROR
resultINTIf the media ID is a member of the group a response of 1 will be returned. If the media item is not a member of the group the response will be empty.<result>1</result><result/>

Return Values

FieldDescriptionPossible Values