# CreateGroup Method The CreateGroup method creates a code group. Syntax
    [long=] SiteCafe.Server.Codes.CreateGroup(name)
Parameters
name | String that specifies the group's name.
Return Value Returns a Long value containing the code group index. Remarks None. Examples The following example creates a new code group.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    groupIndex = SiteCafe.Server.Codes.CreateGroup("NewGroup");
    </SCRIPT>
Applies to SiteKiosk v6.2 (and later versions). Back to top