/// <summary> /// boss验证,获取用户的分公司和职位 /// </summary> /// <param name="userName"></param> /// <param name="password"></param> /// <returns></returns> public static string[] GetBossGroup(string userName, string password) { com.quanjing.boss.WSAuthentication obj = new QJVRMS.Business.com.quanjing.boss.WSAuthentication(); //return obj.GetAuthentication(userName, password); return(obj.GetUserInfo(userName, password)); }
/// <summary> /// boss验证,获取用户的分公司和职位 /// </summary> /// <param name="userName"></param> /// <param name="password"></param> /// <returns></returns> public static string[] GetBossGroup(string userName, string password) { com.quanjing.boss.WSAuthentication obj = new QJVRMS.Business.com.quanjing.boss.WSAuthentication(); //return obj.GetAuthentication(userName, password); return obj.GetUserInfo(userName, password); }
/// <summary> /// boss验证 /// </summary> /// <param name="userName"></param> /// <param name="password"></param> /// <returns></returns> public static bool loginBoss(string userName, string password) { com.quanjing.boss.WSAuthentication obj = new QJVRMS.Business.com.quanjing.boss.WSAuthentication(); return(obj.GetAuthentication(userName, password)); }
/// <summary> /// boss验证 /// </summary> /// <param name="userName"></param> /// <param name="password"></param> /// <returns></returns> public static bool loginBoss(string userName,string password) { com.quanjing.boss.WSAuthentication obj = new QJVRMS.Business.com.quanjing.boss.WSAuthentication(); return obj.GetAuthentication(userName, password); }