public void CreateTpUserWithLogin(string login, string name, string mail)
        {
            var userLookup = new TpUserMappingInfo {
                Id = EntityId.Next(), Name = name, Login = login, Email = mail
            };

            TpUsers.Add(userLookup);
        }
Пример #2
0
        public void CreateTpUser(string userName, string userLogin, string email, int userId)
        {
            var userLookup = new TpUserMappingInfo {
                Id = EntityId.Next(), Name = userName, Login = userLogin, Email = email
            };

            TpUsers.Add(userLookup);
        }
        public void CreateTpUser(string userName, string userLogin, int userId)
        {
            var userLookup = new TpUserMappingInfo
            {
                Id = EntityId.Next(), Name = userName, Login = userLogin, Email = Guid.NewGuid() + "@mail.com"
            };

            TpUsers.Add(userLookup);
        }
        public void CreateTpUser(string name, string mail)
        {
            var userLookup = new TpUserMappingInfo
            {
                Id = EntityId.Next(), Name = name, Email = mail, Login = Guid.NewGuid() + "_login"
            };

            TpUsers.Add(userLookup);
        }