public static List<ArtefactInfo> UnRegister_User(SDMXSchemaType schemaType, string originalFileNameWPath, UserTypes userType, string id) { List<ArtefactInfo> RetVal; UsersUtility UsersUtility; RetVal = null; UsersUtility = null; try { UsersUtility = new UsersUtility(originalFileNameWPath, userType, id, string.Empty, string.Empty, string.Empty, false); RetVal = UsersUtility.Generate_Artefact(); UsersUtility.Save_Artefacts(RetVal); } catch (Exception ex) { RetVal = null; throw ex; } finally { } return RetVal; }
public static List<ArtefactInfo> Register_User(SDMXSchemaType schemaType, string originalFileNameWPath, UserTypes userType, string id, string name, string language, string outputFolder) { List<ArtefactInfo> RetVal; UsersUtility UsersUtility; RetVal = null; UsersUtility = null; try { UsersUtility = new UsersUtility(originalFileNameWPath, userType, id, name, language, outputFolder, true); RetVal = UsersUtility.Generate_Artefact(); UsersUtility.Save_Artefacts(RetVal); } catch (Exception ex) { RetVal = null; throw ex; } finally { } return RetVal; }