{"id":1269,"date":"2010-02-04T00:27:23","date_gmt":"2010-02-03T22:27:23","guid":{"rendered":"http:\/\/contoso.se\/blog\/?p=1269"},"modified":"2010-02-04T00:27:23","modified_gmt":"2010-02-03T22:27:23","slug":"target-software-packages-to-a-group-of-users","status":"publish","type":"post","link":"https:\/\/contoso.se\/blog\/?p=1269","title":{"rendered":"Target software packages to a group of users"},"content":{"rendered":"<p>I tested to modify my announcement customization management pack from <a href=\"http:\/\/contoso.se\/blog\/?p=1243\">this<\/a> post to extend the\u00c2\u00a0package\u00c2\u00a0class instead. It works really well, I can target packages\u00c2\u00a0to a group of users or to everyone. The following post can be a little bit confusing if you have not <a href=\"http:\/\/contoso.se\/blog\/?p=1243\">read this first<\/a>, please do.<\/p>\n<p>The management pack looks like this<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/contoso.se\/blog\/wp-content\/uploads\/2010\/02\/SMPackage01.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"size-medium wp-image-1270  aligncenter\" title=\"SMPackage01\" src=\"http:\/\/contoso.se\/blog\/wp-content\/uploads\/2010\/02\/SMPackage01-300x112.jpg\" alt=\"\" width=\"300\" height=\"112\" srcset=\"https:\/\/contoso.se\/blog\/wp-content\/uploads\/2010\/02\/SMPackage01-300x112.jpg 300w, https:\/\/contoso.se\/blog\/wp-content\/uploads\/2010\/02\/SMPackage01-1024x383.jpg 1024w, https:\/\/contoso.se\/blog\/wp-content\/uploads\/2010\/02\/SMPackage01.jpg 1155w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>I\u00c2\u00a0can configure a package for which group it will be available in the self service portal. The user can then request the software,\u00c2\u00a0a change request must still be approved before they get it. The result is that instead of all users see all packages from Configuration Manager in the self service portal, they only see the package assigned to their group. When I was testing it I used the same groups as in <a href=\"http:\/\/contoso.se\/blog\/?p=1243\">this<\/a> post.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I tested to modify my announcement customization management pack from this post to extend the\u00c2\u00a0package\u00c2\u00a0class instead. It works really well, I can target packages\u00c2\u00a0to a group of users or to everyone. The following post can be a little bit confusing if you have not read this first, please do. The management pack looks like this &hellip; <a href=\"https:\/\/contoso.se\/blog\/?p=1269\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[25],"tags":[],"_links":{"self":[{"href":"https:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1269"}],"collection":[{"href":"https:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/contoso.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1269"}],"version-history":[{"count":1,"href":"https:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1269\/revisions"}],"predecessor-version":[{"id":1271,"href":"https:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1269\/revisions\/1271"}],"wp:attachment":[{"href":"https:\/\/contoso.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1269"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/contoso.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1269"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/contoso.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1269"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}