Beispiel #1
0
        public string ResetTradePassword(string username)
        {
            UserFactory memberFactory = this.GetMemberFactory();

            return(memberFactory.ResetTradePassword(username));
        }
Beispiel #2
0
        public bool ChangeTradePassword(string newPassword)
        {
            UserFactory memberFactory = this.GetMemberFactory();

            return(memberFactory.ChangeTradePassword(this.Username, newPassword));
        }
Beispiel #3
0
        public bool OpenBalance(string tradePassword)
        {
            UserFactory memberFactory = this.GetMemberFactory();

            return(memberFactory.OpenBalance(this.UserId, tradePassword));
        }
Beispiel #4
0
        public static bool ValidTradePassword(IUser user)
        {
            UserFactory userFactory = UserFactory.Create(user.UserRole);

            return(userFactory.ValidTradePassword(user.Username, user.TradePassword));
        }