예제 #1
0
        public static StaffADProfile getStaffADProfile(string staff_id, int chk = 0)
        {
            //Get the staff profile
            StaffADProfile staffADProfile = new StaffADProfile();

            staffADProfile.employee_number = staff_id;
            //AD
            //ActiveDirectoryQuery activeDirectoryQuery = new ActiveDirectoryQuery(staffADProfile, staff_number);
            // = activeDirectoryQuery.GetStaffProfileByNumber();
            //if (staffADProfile == null)
            //{
            //    return null;
            //}

            return(LINQCalls.getXceedProfile(staffADProfile));
        }
예제 #2
0
 internal static Tuple <int, string, int> getXceedServer(StaffADProfile staffADProfile)
 {
     return(LINQCalls.getXceedConnector(staffADProfile));
 }