示例#1
0
 // Token: 0x0600000A RID: 10 RVA: 0x00002180 File Offset: 0x00000380
 public string ValidateLogin(string dbId, string userName, string password, int lcid)
 {
     object[] parameters = new object[]
     {
         dbId,
         EnDecode.Encode(userName),
         EnDecode.Encode(password),
         lcid
     };
     return(this.Execute <string>("Kingdee.BOS.WebApi.ServicesStub.AuthService.ValidateUserEnDeCode", parameters));
 }
示例#2
0
        // Token: 0x06000009 RID: 9 RVA: 0x00002120 File Offset: 0x00000320
        public bool Login(string dbId, string userName, string password, int lcid)
        {
            object[] parameters = new object[]
            {
                dbId,
                EnDecode.Encode(userName),
                EnDecode.Encode(password),
                lcid
            };
            string json = this.Execute <string>("Kingdee.BOS.WebApi.ServicesStub.AuthService.ValidateUserEnDeCode", parameters);
            int    num  = JObject.Parse(json)["LoginResultType"].Value <int>();

            return(num == 1);
        }