Quintiq file version 2.0
#parent: #root
Method InitializedData (
  SWF_User selection
) id:Method_SWF_DialogCreateEditUser_InitializedData
{
  #keys: '[136682.0.930077118]'
  Body:
  [*
    // Initialize data
    data := shadow( selection );
    DataHolderDialogData.Data( &data );
    userinroles := selectvalues( selection, UserInRole.Role, role, true ,role.Name() );
    Form.edtFieldAssignedRole().Text( userinroles.ToString( "\n" ) );
    GlobalStateSOPWorkflow.ShowFormModal( Form );
  *]
}
