{"id":12802,"date":"2024-03-21T14:01:18","date_gmt":"2024-03-21T05:01:18","guid":{"rendered":"https:\/\/fobi.ashisuto.co.jp\/tech\/?p=12802"},"modified":"2024-03-23T13:43:39","modified_gmt":"2024-03-23T04:43:39","slug":"user_export","status":"publish","type":"post","link":"https:\/\/fobi.ashisuto.co.jp\/tech\/technical\/techmemo\/user_export\/","title":{"rendered":"\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30bb\u30f3\u30bf\u30fc\u306e\u30e6\u30fc\u30b6\u30fc\u3092\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3059\u308b\u30d7\u30ed\u30b7\u30b8\u30e3"},"content":{"rendered":"\n<p>WebFOCUS Client\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30bb\u30f3\u30bf\u30fc\u3067\u7ba1\u7406\u3055\u308c\u308b\u30e6\u30fc\u30b6\u30fc\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u306f\u3001WebFOCUS Client REST \u30a2\u30c0\u30d7\u30bf\u306e\u6a5f\u80fd\u3092\u4f7f\u7528\u3057\u305f\u30d7\u30ed\u30b7\u30b8\u30e3\u306b\u3088\u308a\u884c\u3044\u307e\u3059\u3002<br>\u672c\u7a3f\u3067\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u7528\u306eCSV\u3092\u51fa\u529b\u3059\u308b\u30d7\u30ed\u30b7\u30b8\u30e3\u306e\u4f5c\u6210\u3001\u4f7f\u7528\u65b9\u6cd5\u306b\u3064\u3044\u3066\u3054\u7d39\u4ecb\u3044\u305f\u3057\u307e\u3059\u3002<br><br>\u306a\u304a\u3001\u672c\u7a3f\u3067\u3054\u7d39\u4ecb\u3059\u308b\u624b\u9806\u306fWebFOCUS Client REST \u30a2\u30c0\u30d7\u30bf\u304c\u3059\u3067\u306b\u69cb\u6210\u6e08\u307f\u3067\u3042\u308b\u3053\u3068\u304c\u6761\u4ef6\u3068\u306a\u308a\u307e\u3059\u3002<br>WebFOCUS Client REST \u30a2\u30c0\u30d7\u30bf\u306e\u69cb\u6210\u304c\u304a\u6e08\u307f\u3067\u306a\u3044\u5834\u5408\u306f\u3001<a rel=\"noreferrer noopener\" href=\"https:\/\/fobi.ashisuto.co.jp\/tech\/beginner\/post-10749\/\" data-type=\"URL\" data-id=\"https:\/\/fobi.ashisuto.co.jp\/tech\/beginner\/post-10749\/\" target=\"_blank\">\u3053\u3061\u3089\u306e\u8a18\u4e8b<\/a>\uff08\u30c7\u30fc\u30bf\u30a2\u30c0\u30d7\u30bf\u306e\u69cb\u6210\uff09\u3092\u53c2\u8003\u306b\u30a2\u30c0\u30d7\u30bf\u306e\u69cb\u6210\u304a\u3088\u3073\u300cwfcrest\u300d\u30d5\u30a9\u30eb\u30c0\u306e\u4f5c\u6210\u3068\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u914d\u7f6e\u3092\u5b9f\u65bd\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"383\" src=\"https:\/\/fobi.ashisuto.co.jp\/tech\/wp-content\/uploads\/image-1494-1024x383.png\" alt=\"\" class=\"wp-image-12803\" srcset=\"https:\/\/fobi.ashisuto.co.jp\/tech\/wp-content\/uploads\/image-1494-1024x383.png 1024w, https:\/\/fobi.ashisuto.co.jp\/tech\/wp-content\/uploads\/image-1494-300x112.png 300w, https:\/\/fobi.ashisuto.co.jp\/tech\/wp-content\/uploads\/image-1494-768x287.png 768w, https:\/\/fobi.ashisuto.co.jp\/tech\/wp-content\/uploads\/image-1494.png 1074w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u30e6\u30fc\u30b6\u30fc\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u7528\u30d7\u30ed\u30b7\u30b8\u30e3\u306e\u4f5c\u6210<\/h2>\n\n\n\n<p>\u4e0b\u8a18\u3092\u53c2\u8003\u306b\u30d7\u30ed\u30b7\u30b8\u30e3\u3092\u4f5c\u6210\u30fb\u914d\u7f6e\u3057\u307e\u3059\u3002<br>Reporting Server\u306e\u7ba1\u7406\u30b3\u30f3\u30bd\u30fc\u30eb\u3088\u308a\u3001\u30d7\u30ed\u30b7\u30b8\u30e3\u7de8\u96c6\u753b\u9762\u3092\u7acb\u3061\u4e0a\u3052\u3001\u4e0b\u8a18\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u30b3\u30d4\u30fc\u3057\u4efb\u610f\u306e\u5834\u6240\u30fb\u540d\u524d\u3067\u4fdd\u5b58\u3057\u307e\u3059\u3002<br>\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u7b49\u3067\u4f5c\u6210\u3057\u3001\u76f4\u63a5\u30d5\u30a9\u30eb\u30c0\u306b\u914d\u7f6e\u3059\u308b\u306a\u3069\u306e\u65b9\u6cd5\u3067\u3082\u53ef\u80fd\u3067\u3059\u306e\u3067\u3001\u4efb\u610f\u306e\u65b9\u6cd5\u3067\u5b9f\u65bd\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"256\" height=\"418\" src=\"https:\/\/fobi.ashisuto.co.jp\/tech\/wp-content\/uploads\/image-1499.png\" alt=\"\" class=\"wp-image-12811\" srcset=\"https:\/\/fobi.ashisuto.co.jp\/tech\/wp-content\/uploads\/image-1499.png 256w, https:\/\/fobi.ashisuto.co.jp\/tech\/wp-content\/uploads\/image-1499-184x300.png 184w\" sizes=\"(max-width: 256px) 100vw, 256px\" \/><\/figure>\n\n\n\n<p>\u306a\u304a\u3001\u672c\u7a3f\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30d5\u30a9\u30eb\u30c0\u3068\u3057\u3066wfcrest\u304c\u4f5c\u6210\u6e08\u307f\u3067\u3042\u308a\u3001\u304b\u3064WebFOCUS Client REST\u7528\u306e\u30b7\u30ce\u30cb\u30e0\u3084\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u9069\u5207\u306b\u914d\u7f6e\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u524d\u63d0\u3068\u306a\u308b\u70b9\u306b\u3054\u6ce8\u610f\u304f\u3060\u3055\u3044\u3002<br>\u51fa\u529b\u5148\uff08\u8ffd\u8a18\u5148\uff09\u306f\u3054\u5229\u7528\u306e\u74b0\u5883\u306b\u5408\u308f\u305b\u5909\u66f4\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u25c6\u30d7\u30ed\u30b0\u30e9\u30e0<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>-*********************************************\n-* \u30e6\u30fc\u30b6\u60c5\u5831\u306e\u53d6\u5f97\n-*********************************************\nTABLE FILE wfcrest\/GET_USERS                                                        \nPRINT                                                                           \n     GET_USERS.ITEM.NAME3        AS 'USERID'                                           \n     GET_USERS.ITEM.DESCRIPTION1 AS 'USERNAME'                          \n     GET_USERS.ITEM.EMAIL        AS 'EMAIL'                                    \n     GET_USERS.ITEM.NAME2        AS 'STATUS'                                           \nWHERE NOT GET_USERS.ITEM.NAME3 IN ( 'admin','superuser','public','wfdesktop')\nON TABLE HOLD AS HLDUSER\nON TABLE SET ASNAMES ON\nEND\n-RUN\n\n\n-*********************************************\n-* \u30e6\u30fc\u30b6\u306e\u30b0\u30eb\u30fc\u30d7\u60c5\u5831\u306e\u53d6\u5f97\n-*********************************************\n-* \u30e6\u30fc\u30b6\u6570\u5206\u306e\u51e6\u7406\u56de\u6570\u3092\u53d6\u5f97\n-SET &amp;REPTIME = &amp;LINES;\n\n-*** CSV \u306b\u66f8\u304d\u8fbc\u3080\u60c5\u5831\u306e\u521d\u671f\u8a2d\u5b9a ***\n-* \u51fa\u529b\u5148\nFILEDEF USERCSV DISK baseapp\/userimport.csv\n-RUN\n\n-* \u30e6\u30fc\u30b6\u60c5\u5831\u306e\u5909\u6570\u306e\u521d\u671f\u8a2d\u5b9a\n-DEFAULTH &amp;USERID=''\n-DEFAULTH &amp;USERNAME=''\n-DEFAULTH &amp;EMAIL=''\n\nSET MSG = OFF\n\n-*** \u30ea\u30d4\u30fc\u30c8\u51e6\u7406 \uff08\u958b\u59cb\uff09****\n-REPEAT :CRT_USRLST &amp;REPTIME TIMES;\n-READFILE HLDUSER                                                    \n-SET &amp;USERID   = TRUNCATE(&amp;USERID);\n-SET &amp;USERNAME = TRUNCATE(&amp;USERNAME);\n-SET &amp;EMAIL    = TRUNCATE(&amp;EMAIL);\n-RUN   \n \n-SET &amp;IBIRS_PATH = '\/SSYS\/USERS\/' || &amp;USERID;                                         \n\n-TYPE ************************\n-TYPE \u5bfe\u8c61\u30e6\u30fc\u30b6\uff1a&amp;IBIRS_PATH\n\nDEFINE FILE wfcrest\/GET_GROUPS_WITHIN_USER \n USERID\/STRING   = '&amp;USERID';\n PASSWARD\/STRING = '&amp;USERID';\n USERNAME\/STRING = '&amp;USERNAME';\n EMAIL\/STRING    = '&amp;EMAIL';\n STATUS\/STRING   = 'MUSTCHANGE';\n GRPNAME\/STRING  = REPLACE(GET_GROUPS_WITHIN_USER.ITEM.FULLPATH1,'IBFS:\/SSYS\/GROUPS\/','');\nEND\nTABLE FILE wfcrest\/GET_GROUPS_WITHIN_USER                                           \nSUM\n COMPUTE CNT\/I4      = CNT + 1; NOPRINT\n COMPUTE GRPS\/STRING = IF CNT EQ 1 THEN GRPNAME ELSE LAST GRPS || ';' || GRPNAME; AS 'GROUPS'                          \nBY USERID \nBY PASSWARD \nBY USERNAME \nBY EMAIL \nBY STATUS\nBY TOTAL HIGHEST 1 GRPNAME NOPRINT\nBY GRPNAME NOPRINT\nWHERE GET_GROUPS_WITHIN_USER.M6ILO.IBIRS_PATH EQ '&amp;IBIRS_PATH.IBFS Path to a User.'\nWHERE GET_GROUPS_WITHIN_USER.ITEM.MEMBERSHIPTYPE EQ 'DirectAssignment'\nON TABLE SET HOLDLIST PRINTONLY\nON TABLE HOLD AS USERCSV FORMAT DFIX HEADER NO DELIMITER ,\nEND                                                                             \n-RUN\n-TYPE \u6240\u5c5e\u30b0\u30eb\u30fc\u30d7\u6570\uff1a&amp;RECORDS\n-TYPE ************************\n\n-*** CSV\u3078\u8ffd\u8a18 ***\nFILEDEF USERCSV DISK baseapp\/userimport.csv (APPEND\n-RUN\n \n-:CRT_USRLST\n-*** \u30ea\u30d4\u30fc\u30c8\u51e6\u7406 \uff08\u7d42\u4e86\uff09****<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u5b9f\u884c\u3068\u7d50\u679c\u306e\u78ba\u8a8d<\/h2>\n\n\n\n<p>\u4f5c\u6210\u3057\u305f\u30d7\u30ed\u30b7\u30b8\u30e3\u3092\u5b9f\u884c\u3057\u3001\u51fa\u529b\u3055\u308c\u305fCSV\u30d5\u30a1\u30a4\u30eb\u3092\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<br>\u30c7\u30d5\u30a9\u30eb\u30c8\u8a2d\u5b9a\u6642\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u51fa\u529b\u5834\u6240\uff1a<strong><span data-color=\"#ff7f50\" style=\"background: linear-gradient(transparent 60%,rgba(255, 127, 80, 0.7) 0);\" class=\"vk_highlighter\">\/ibi\/apps\/baseapp\/userimport.csv<\/span><\/strong><br>CSV\u30d5\u30a1\u30a4\u30eb\u306fWebFOCUS Client\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30bb\u30f3\u30bf\u30fc\u3088\u308a\u30a4\u30f3\u30dd\u30fc\u30c8\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"497\" height=\"309\" src=\"https:\/\/fobi.ashisuto.co.jp\/tech\/wp-content\/uploads\/image-1497.png\" alt=\"\" class=\"wp-image-12807\" srcset=\"https:\/\/fobi.ashisuto.co.jp\/tech\/wp-content\/uploads\/image-1497.png 497w, https:\/\/fobi.ashisuto.co.jp\/tech\/wp-content\/uploads\/image-1497-300x187.png 300w\" sizes=\"(max-width: 497px) 100vw, 497px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>WebFOCUS Client\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30bb\u30f3\u30bf\u30fc\u3067\u7ba1\u7406\u3055\u308c\u308b\u30e6\u30fc\u30b6\u30fc\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u306f\u3001WebFOCUS Client REST \u30a2\u30c0\u30d7\u30bf\u306e\u6a5f\u80fd\u3092\u4f7f\u7528\u3057\u305f\u30d7\u30ed\u30b7\u30b8\u30e3\u306b\u3088\u308a\u884c\u3044\u307e\u3059\u3002\u672c\u7a3f\u3067\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u7528\u306eCSV [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":12793,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"qubely_global_settings":"true","qubely_interactions":"","_uag_custom_page_level_css":"","ub_ctt_via":""},"categories":[9],"tags":[],"qubely_featured_image_url":{"full":["https:\/\/fobi.ashisuto.co.jp\/tech\/wp-content\/uploads\/AdobeStock_2162393-scaled.jpeg",2560,1707,false],"landscape":["https:\/\/fobi.ashisuto.co.jp\/tech\/wp-content\/uploads\/AdobeStock_2162393-1200x750.jpeg",1200,750,true],"portraits":["https:\/\/fobi.ashisuto.co.jp\/tech\/wp-content\/uploads\/AdobeStock_2162393-540x320.jpeg",540,320,true],"thumbnail":["https:\/\/fobi.ashisuto.co.jp\/tech\/wp-content\/uploads\/AdobeStock_2162393-150x150.jpeg",150,150,true],"medium":["https:\/\/fobi.ashisuto.co.jp\/tech\/wp-content\/uploads\/AdobeStock_2162393-300x200.jpeg",300,200,true],"medium_large":["https:\/\/fobi.ashisuto.co.jp\/tech\/wp-content\/uploads\/AdobeStock_2162393-768x512.jpeg",768,512,true],"large":["https:\/\/fobi.ashisuto.co.jp\/tech\/wp-content\/uploads\/AdobeStock_2162393-1024x683.jpeg",1024,683,true],"1536x1536":["https:\/\/fobi.ashisuto.co.jp\/tech\/wp-content\/uploads\/AdobeStock_2162393-1536x1024.jpeg",1536,1024,true],"2048x2048":["https:\/\/fobi.ashisuto.co.jp\/tech\/wp-content\/uploads\/AdobeStock_2162393-2048x1365.jpeg",2048,1365,true],"qubely_landscape":["https:\/\/fobi.ashisuto.co.jp\/tech\/wp-content\/uploads\/AdobeStock_2162393-1200x750.jpeg",1200,750,true],"qubely_portrait":["https:\/\/fobi.ashisuto.co.jp\/tech\/wp-content\/uploads\/AdobeStock_2162393-540x320.jpeg",540,320,true],"qubely_thumbnail":["https:\/\/fobi.ashisuto.co.jp\/tech\/wp-content\/uploads\/AdobeStock_2162393-140x100.jpeg",140,100,true]},"qubely_author":{"display_name":"\u30d5\u30a9\u30fc\u30d3\u30fc","author_link":"https:\/\/fobi.ashisuto.co.jp\/tech\/author\/fobi\/"},"qubely_comment":0,"qubely_category":"<a href=\"https:\/\/fobi.ashisuto.co.jp\/tech\/category\/technical\/techmemo\/\" rel=\"category tag\">\u30c6\u30af\u30cb\u30ab\u30eb\u30e1\u30e2<\/a>","featured_image_src":"https:\/\/fobi.ashisuto.co.jp\/tech\/wp-content\/uploads\/AdobeStock_2162393-scaled.jpeg","author_info":{"display_name":"\u30d5\u30a9\u30fc\u30d3\u30fc","author_link":"https:\/\/fobi.ashisuto.co.jp\/tech\/author\/fobi\/"},"jetpack_featured_media_url":"https:\/\/fobi.ashisuto.co.jp\/tech\/wp-content\/uploads\/AdobeStock_2162393-scaled.jpeg","uagb_featured_image_src":{"full":["https:\/\/fobi.ashisuto.co.jp\/tech\/wp-content\/uploads\/AdobeStock_2162393-scaled.jpeg",2560,1707,false],"thumbnail":["https:\/\/fobi.ashisuto.co.jp\/tech\/wp-content\/uploads\/AdobeStock_2162393-150x150.jpeg",150,150,true],"medium":["https:\/\/fobi.ashisuto.co.jp\/tech\/wp-content\/uploads\/AdobeStock_2162393-300x200.jpeg",300,200,true],"medium_large":["https:\/\/fobi.ashisuto.co.jp\/tech\/wp-content\/uploads\/AdobeStock_2162393-768x512.jpeg",768,512,true],"large":["https:\/\/fobi.ashisuto.co.jp\/tech\/wp-content\/uploads\/AdobeStock_2162393-1024x683.jpeg",1024,683,true],"1536x1536":["https:\/\/fobi.ashisuto.co.jp\/tech\/wp-content\/uploads\/AdobeStock_2162393-1536x1024.jpeg",1536,1024,true],"2048x2048":["https:\/\/fobi.ashisuto.co.jp\/tech\/wp-content\/uploads\/AdobeStock_2162393-2048x1365.jpeg",2048,1365,true],"qubely_landscape":["https:\/\/fobi.ashisuto.co.jp\/tech\/wp-content\/uploads\/AdobeStock_2162393-1200x750.jpeg",1200,750,true],"qubely_portrait":["https:\/\/fobi.ashisuto.co.jp\/tech\/wp-content\/uploads\/AdobeStock_2162393-540x320.jpeg",540,320,true],"qubely_thumbnail":["https:\/\/fobi.ashisuto.co.jp\/tech\/wp-content\/uploads\/AdobeStock_2162393-140x100.jpeg",140,100,true]},"uagb_author_info":{"display_name":"\u30d5\u30a9\u30fc\u30d3\u30fc","author_link":"https:\/\/fobi.ashisuto.co.jp\/tech\/author\/fobi\/"},"uagb_comment_info":0,"uagb_excerpt":"WebFOCUS Client\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30bb\u30f3\u30bf\u30fc\u3067\u7ba1\u7406\u3055\u308c\u308b\u30e6\u30fc\u30b6\u30fc\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u306f\u3001WebFOCUS Cl&hellip;","_links":{"self":[{"href":"https:\/\/fobi.ashisuto.co.jp\/tech\/wp-json\/wp\/v2\/posts\/12802"}],"collection":[{"href":"https:\/\/fobi.ashisuto.co.jp\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fobi.ashisuto.co.jp\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fobi.ashisuto.co.jp\/tech\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/fobi.ashisuto.co.jp\/tech\/wp-json\/wp\/v2\/comments?post=12802"}],"version-history":[{"count":8,"href":"https:\/\/fobi.ashisuto.co.jp\/tech\/wp-json\/wp\/v2\/posts\/12802\/revisions"}],"predecessor-version":[{"id":12903,"href":"https:\/\/fobi.ashisuto.co.jp\/tech\/wp-json\/wp\/v2\/posts\/12802\/revisions\/12903"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fobi.ashisuto.co.jp\/tech\/wp-json\/wp\/v2\/media\/12793"}],"wp:attachment":[{"href":"https:\/\/fobi.ashisuto.co.jp\/tech\/wp-json\/wp\/v2\/media?parent=12802"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fobi.ashisuto.co.jp\/tech\/wp-json\/wp\/v2\/categories?post=12802"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fobi.ashisuto.co.jp\/tech\/wp-json\/wp\/v2\/tags?post=12802"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}