User Tools

Site Tools


macros:function:group.checkifgroupexists

Function

Group.CheckIfGroupExists

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.
Example in

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>
Also used in
Remarks
You could leave a comment if you were logged in.
macros/function/group.checkifgroupexists.txt · Last modified: 2019/05/04 07:11 by icke_siegen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki