public void UpdateIdUserModule(WbUser user) { IdUserModule = user.Id; MailStatus = (user.MailChecked) ? Domain.MailStatus.Confirmed : Domain.MailStatus.WaitingConfirm; UserType = (user.IsController) ? UserTypeFilter.Administrator : (user.PersonID > 0) ? UserTypeFilter.InternalParticipant : UserTypeFilter.ExternalParticipant; UserStatus = (user.Enabled) ? Domain.UserStatus.Unlocked : Domain.UserStatus.Locked; }
public dtoWebConferenceMessageRecipient(ModuleObject obj, WbUser user, String moduleCode = "") { IdUserModule = user.Id; MessageNumber = 0; CodeLanguage = user.LanguageCode; Type = RecipientType.BCC; IdPerson = user.PersonID; ModuleCode = moduleCode; MailAddress = user.Mail; DisplayName = user.DisplayName; Name = user.Name; Surname = user.SName; MailStatus = (user.MailChecked) ? Domain.MailStatus.Confirmed : Domain.MailStatus.WaitingConfirm; UserType = (user.IsController) ? UserTypeFilter.Administrator : (user.PersonID > 0) ? UserTypeFilter.InternalParticipant : UserTypeFilter.ExternalParticipant; UserStatus = (user.Enabled) ? Domain.UserStatus.Unlocked : Domain.UserStatus.Locked; IdModuleObject = obj.ObjectLongID; IdModuleType = obj.ObjectTypeID; }
/// <summary> /// Aggiunge un utente GIA' in COMOL al sistema esterno e restituisce il relativo ID. /// Se stringa vuota, l'utente non è stato inserito! /// </summary> /// <param name="User"></param> /// <returns></returns> public override void UserAddToExternalSystem(ref WbUser User) { }