• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Removing Members From And Deleting An i OS Group Profile

    June 19, 2013 Hey, Joe

    We’re cleaning up some of our IBM i operating system user groups and we need to remove 100 users from a group profile. Is there a way to do that without having to go into each user profile and individually remove their group memberships? We also need to delete some of the group profiles themselves. I’m on i 6.1.

    –Jack

    This is really easy to do if you use the System i Navigator (OpsNav) program that comes with IBM i Access for Windows V7R1M0. Here’s how to use OpsNav to: 1) remove a group of users from an IBM i group profile; and 2) remove a group profile from the system.

    Removing A Group Of Users From An IBM i Group Profile

    Go into OpsNav and open the Users and Groups→Groups node, you’ll see a screen that looks something like this.

    Figure 1

    (Click graphic to enlarge.)

    Scroll down to the group profile entry you want to modify and click on it. A list of all the user profile members belonging to that group will appear in the right-hand pane of OpsNav. Highlight all the user profile names that you want to remove from this group.

    Once you have the names you want to remove highlighted, right-click on the highlighted list of users. Click on the Remove from Group option from the pop-up menu that appears. System i Navigator will then go through and remove the group membership from every user profile that was highlighted, making fast work of this job without having to open each individual user profile.

    Using OpsNav To Delete A Group Profile

    You can also use OpsNav to delete your group profiles, but there are a few tricks to remember when deleting a group profile. First, you have to remove all the user profile memberships associated with that group before you can delete the group profile. OpsNav will error out if you try to delete a group profile that still has members.

    Second, you have to account for any objects the group profile owns or is authorized to before you can delete the group profile. The system will refuse to delete any profiles that own objects. Here’s the drill for deleting a group profile after you’ve cleared out its membership list.

    On your target system, expand the Users and Groups→Groups node in OpsNav. Right-click on the group profile you want to delete and select Delete from the pop-up menu that appears. You’ll see a screen that looks like this.

    Figure 1

    (Click graphic to enlarge.)

    Take one of the following options for the system to resolve object ownership as OpsNav deletes your group profile.

    • If you turn on the “Do Not Delete” radio button from this screen and then click OK, the system will not delete the group profile if it owns any objects. If the system tells you that the profile owns any objects, click on the Scan for Owned Objects button on this screen to view which objects the profile owns. Manually change ownership for any owned objects before deleting the group profile.
    • If you turn on the “Remove primary group from objects” radio button and then click OK, OpsNav will remove the group profile’s authority to any objects it has authority to but does not own, as it deletes the user profile. OpsNav and the system will still refuse to delete the group profile if the profile owns any objects.
    • If you turn on the “Change Primary Group” radio button and then click OK, OpsNav will allow you to designate another primary group profile to change the deleted group profile’s object ownership or authority to. OpsNav will attempt to change the authorities/ownership to the new group but if it is unable to change the ownership, it will display an error message.

    And that’s how you can use OpsNav to remove user profiles from a group profile and delete a group profile from the system.

    HTH

    –Joe

    Follow Me On My Blog, On Twitter, And On LinkedIn

    Check out my blog at joehertvik.com, where I focus on computer administration and news (especially IBM i); vendor, marketing, and tech writing news and materials; and whatever else I come across.

    You can also follow me on Twitter @JoeHertvik and on LinkedIn.

    Joe Hertvik is the owner of Hertvik Business Services, a service company that provides written marketing content and presentation services for the computer industry, including white papers, case studies, and other marketing material. Email Joe for a free quote for any upcoming projects. He also runs a data center for two companies outside Chicago. Joe is a contributing editor for IT Jungle and has written the Admin Alert column since 2002.



                         Post this story to del.icio.us
                   Post this story to Digg
        Post this story to Slashdot

    Share this:

    • Share on Reddit (Opens in new window) Reddit
    • Share on Facebook (Opens in new window) Facebook
    • Share on LinkedIn (Opens in new window) LinkedIn
    • Share on X (Opens in new window) X
    • Email a link to a friend (Opens in new window) Email

    Tags:

    Sponsored by
    Maxava

    Migrate IBM i with Confidence

    Maxava Migrate LiveTM minimizes disruption with seamless transitions. Upgrading to Power11, or cloud hosted system, Maxava has you covered!

    MIGRATE NOW

    Share this:

    • Share on Reddit (Opens in new window) Reddit
    • Share on Facebook (Opens in new window) Facebook
    • Share on LinkedIn (Opens in new window) LinkedIn
    • Share on X (Opens in new window) X
    • Email a link to a friend (Opens in new window) Email

    Sponsored Links

    Profound Logic Software:  Live Webinar: How to Take IBM i Everywhere with Mobile Apps. June 26
    Maxava:  Webinar: Business Continuity For The 21st Century. June 20.
    Abacus Solutions:  Qualified IBM i users eligible for free pair of running shoes

    More IT Jungle Resources:

    System i PTF Guide: Weekly PTF Updates
    IBM i Events Calendar: National Conferences, Local Events, and Webinars
    Breaking News: News Hot Off The Press
    TPM @ The Reg: More News From ITJ EIC Timothy Prickett Morgan

    Away With The SQL Slash Separator Silver Anniversary For Silverlake

    Leave a ReplyCancel reply

Volume 13, Number 12 -- June 19, 2013
THIS ISSUE SPONSORED BY:

Bug Busters Software Engineering
SEQUEL Software
WorksRight Software

Table of Contents

  • Creating And Using i Project
  • Away With The SQL Slash Separator
  • Removing Members From And Deleting An i OS Group Profile

Content archive

  • The Four Hundred
  • Four Hundred Stuff
  • Four Hundred Guru

Recent Posts

  • IBM i Delivers New Development Tooling With 2026 Fall Tech Refreshes
  • Big Blue Says AI Is Not Behind The Big Uptick In IBM i Security Alerts
  • Guru: Web Service With Pagination
  • The GenAI Revolution And Product Shortages Send IT Budgets Skyward
  • IBM i PTF Guide, Volume 28, Number 40
  • IBM i PTF Guide, Volume 28, Number 41
  • Bob Code Assistant Gets Better Understanding Of IBM i Applications
  • IBM i In The Cloud And The Case For Reversing Replication
  • Guru: From Hiking Boots To Long-Term Memory
  • Inside IBM’s New PowerHA Cloud Offering, Full System Manager

Subscribe

To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

Pages

  • About Us
  • Contact
  • Contributors
  • Four Hundred Monitor
  • IBM i PTF Guide
  • Media Kit
  • Subscribe

Search

Copyright © 2025 IT Jungle