public bool DeleteGroupByKey(string groupCode) { using (SystemSecurityServiceClient client = SoapClientFactory.CreateSecurityClient()) { byte[] loginTicket = WebServiceSecurity.EncryptLoginer(Loginer.CurrentUser); return(client.G_DeleteGroupByKey(loginTicket, groupCode)); } }
public bool ModifyPwdDirect(string account, string pwd, string DBName) { using (SystemSecurityServiceClient client = SoapClientFactory.CreateSecurityClient()) { byte[] validationTicket = WebServiceSecurity.GetLoginTicket(); return(client.U_ModifyPwdDirect(validationTicket, account, pwd, DBName)); } }
public int GetFormAuthority(string account, int moduleID, string menuName) { using (SystemSecurityServiceClient client = SoapClientFactory.CreateSecurityClient()) { byte[] loginTicket = WebServiceSecurity.EncryptLoginer(Loginer.CurrentUser); return(client.G_GetFormAuthority(loginTicket, account, moduleID, menuName)); } }
public bool ModifyPassword(string account, string pwd) { using (SystemSecurityServiceClient client = SoapClientFactory.CreateSecurityClient()) { byte[] loginTicket = WebServiceSecurity.EncryptLoginer(Loginer.CurrentUser); return(client.U_ModifyPassword(loginTicket, account, pwd)); } }
public void Logout(string account) { using (SystemSecurityServiceClient client = SoapClientFactory.CreateSecurityClient()) { byte[] loginTicket = WebServiceSecurity.EncryptLoginer(Loginer.CurrentUser); client.U_Logout(loginTicket); } }
public bool ExistsUser(string account) { using (SystemSecurityServiceClient client = SoapClientFactory.CreateSecurityClient()) { byte[] loginTicket = WebServiceSecurity.EncryptLoginer(Loginer.CurrentUser); return(client.U_ExistsUser(loginTicket, account)); } }
public System.Data.DataTable GetFormTagCustomName() { using (SystemSecurityServiceClient client = SoapClientFactory.CreateSecurityClient()) { byte[] loginTicket = WebServiceSecurity.EncryptLoginer(Loginer.CurrentUser); byte[] receivedData = client.G_GetFormTagCustomName(loginTicket); return(ZipTools.DecompressionDataSet(receivedData).Tables[0]); } }
public System.Data.DataSet GetUserGroup(string groupCode) { using (SystemSecurityServiceClient client = SoapClientFactory.CreateSecurityClient()) { byte[] loginTicket = WebServiceSecurity.EncryptLoginer(Loginer.CurrentUser); byte[] receivedData = client.G_GetUserGroupByCode(loginTicket, groupCode); return(ZipTools.DecompressionDataSet(receivedData)); } }
public DataTable GetUserDirect(string account, string DBName) { using (SystemSecurityServiceClient client = SoapClientFactory.CreateSecurityClient()) { byte[] validationTicket = WebServiceSecurity.GetLoginTicket(); byte[] receivedData = client.U_GetUserDirect(validationTicket, account, DBName); return(ZipTools.DecompressionDataSet(receivedData).Tables[0]); } }
public DataTable GetUserAuthorities(Loginer user) { using (SystemSecurityServiceClient client = SoapClientFactory.CreateSecurityClient()) { byte[] loginTicket = WebServiceSecurity.EncryptLoginer(Loginer.CurrentUser); byte[] receivedData = client.U_GetUserAuthorities(loginTicket); return(ZipTools.DecompressionDataSet(receivedData).Tables[0]); } }
public DataSet GetUserReportData(DateTime createDateFrom, DateTime createDateTo) { using (SystemSecurityServiceClient client = SoapClientFactory.CreateSecurityClient()) { byte[] loginTicket = WebServiceSecurity.EncryptLoginer(Loginer.CurrentUser); byte[] bs = client.U_GetUserReportData(loginTicket, createDateFrom, createDateTo); return(ZipTools.DecompressionDataSet(bs)); } }
public bool Update(System.Data.DataSet ds) { using (SystemSecurityServiceClient client = SoapClientFactory.CreateSecurityClient()) { byte[] loginTicket = WebServiceSecurity.EncryptLoginer(Loginer.CurrentUser); byte[] userData = ZipTools.CompressionDataSet(ds); return(client.U_UpdateUser(loginTicket, userData)); } }
public System.Data.DataTable GetUserByNovellID(string novellAccount) { using (SystemSecurityServiceClient client = SoapClientFactory.CreateSecurityClient()) { byte[] loginTicket = WebServiceSecurity.EncryptLoginer(Loginer.CurrentUser); byte[] receivedData = client.U_GetUserByNovellID(loginTicket, novellAccount); return(ZipTools.DecompressionDataSet(receivedData).Tables[0]); } }
public DataTable Login(LoginUser loginUser, char LoginUserType) { using (SystemSecurityServiceClient client = SoapClientFactory.CreateSecurityClient()) { byte[] validationTicket = WebServiceSecurity.GetLoginTicket(); byte[] bsLoginUser = ZipTools.CompressionObject(loginUser); byte[] receivedData = client.U_Login(validationTicket, bsLoginUser, LoginUserType); DataSet ds = ZipTools.DecompressionDataSet(receivedData); return(ds.Tables[0]); } }