Function
Void Group.CheckIfGroupExists(Single value, String propertyId)
| API | http://api.avolites.com/11.0/Group.CheckIfGroupExists.html |
|---|---|
| description | Checks if a group exists. |
| namespace | Group |
| parameter | value ( Single ) : The group user number to check for. |
| propertyId( String ) : The property id to put the result in. | |
| return value | Void. Stricly this function returns its result in the propertyId as a Boolean. |
Create/Replace Group (snippet):
<step>Group.CheckIfGroupExists(999.0, "Group.Numeric.IsValid")</step> <step condition="Math.IsEqual(Group.Numeric.IsValid, True)">Group.ReplaceGroupOnHandle(userNumber:999)</step> <step condition="Math.IsEqual(Group.Numeric.IsValid, False)">Group.StoreGroup(userNumber:999)</step>