Quintiq file version 2.0
#parent: DataHolderUserGroup
Response OnCreated () id:Response_ApplicationLibMacroPlanner_DataHolderUserGroup_OnCreated
{
  #keys: '[107654.0.557161539]'
  Body:
  [*
    // Get user group
    currentuser := ApplicationScope.Session().CurrentUser();
    ug := selectset( Domain, UserGroupDefinitions.Elements, ug, currentuser.IsMemberOfGroup( ug.Name() ), true );
    ugs := ''
    traverse( ug, Elements, u )
    {
      ugs := ugs + ';' + u.Name();
    }
    ValueHolderUserGroup.Value( ugs );
    this.Data( &ug );
  *]
  DefinitionID: 'Responsedef_GUIComponent_OnCreated'
}
