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); }
public NRTUtility(IMANADMIN.NRTSession nRTSession, IMDBType iMDBType) { _nRTSession = nRTSession; foreach (IMANADMIN.NRTDatabase item in _nRTSession.Databases) { if (item.Name.IsEquals(iMDBType.ToString())) _nRTDatabase = item; } }
public static IMDBMovie GetMovie(string title, IMDBType type) { IMDBMovie movie = DeserializeIMDBMovie(GetDataFromOMDB(new string[] { "t=" + title, "type=" + type.ToString() })); return(movie); }
public static IMDBMovie GetMovieFromID(string id, IMDBType type, bool tomatoes) { IMDBMovie movie = DeserializeIMDBMovie(GetDataFromOMDB(new string[] { "t=" + id.ToString(), "type=" + type.ToString(), "tomatoes=" + tomatoes.ToString() })); return(movie); }
public static IMDBMovie GetMovie(string title, bool fullPlot, IMDBType type, bool tomatoes) { IMDBMovie movie = DeserializeIMDBMovie(GetDataFromOMDB(new string[] { "t=" + title, "plot=" + fullPlot.ToString(), "type=" + type.ToString(), "tomatoes=" + tomatoes.ToString() })); return(movie); }