Пример #1
0
        public static void DeleteUserFromGroup(IMDBType iMDBType, string groupName, string userEmpId)
        {
            IMGrpNUser iMGrpNUser = new IMGrpNUser(iMDBType);
            iMGrpNUser.DeleteUserFromGroup(groupName, userEmpId);

            KRep.KRepKWSLog.KWSLogAddDeleteUser("Universal", string.Format("{0}[{1}]", groupName, iMDBType.ToString()), userEmpId, KModel.KWSLogType.DeleteUser);
        }
Пример #2
0
 public static List<WsUser> GetWsUsersInGroup(IMDBType iMDBType, string groupName)
 {
     IMGrpNUser iMGrpNUser = new IMGrpNUser(iMDBType);
     return iMGrpNUser.GetWsUsersInGroup(groupName);
 }
Пример #3
0
 //public static List<WsUser> GetUser(IMDBType iMDBType, string userLName, string userFName, string userEmpId, bool isExactSearch)
 public static List<WsUser> GetUser(IMDBType iMDBType, string userName, string userEmpId, bool isExactSearch)
 {
     IMGrpNUser iMGrpNUser = new IMGrpNUser(iMDBType);
     return iMGrpNUser.GetUser(userName, userEmpId, isExactSearch);
 }
Пример #4
0
 public static WsUser GetUser(IMDBType iMDBType, string userEmpId)
 {
     IMGrpNUser iMGrpNUser = new IMGrpNUser(iMDBType);
     return iMGrpNUser.GetUser(userEmpId);
 }
Пример #5
0
 public static List<WsGroup> GetUniversalGroupNUser(IMDBType iMDBType)
 {
     IMGrpNUser iMGrpNUser = new IMGrpNUser(iMDBType);
     return iMGrpNUser.GetUniversalGroupNUser();
 }