• 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:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags:

    Sponsored by
    Maxava

    Migrate IBM i with Confidence

    Tired of costly and risky migrations? Maxava Migrate Live minimizes disruption with seamless transitions. Upgrading to Power10 or cloud hosted system, Maxava has you covered!

    Learn More

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • 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

    StorageQuest Uses Flash Memory in VTL Silver Anniversary For Silverlake

    Leave a Reply Cancel 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

  • Meet The Next Gen Of IBMers Helping To Build IBM i
  • Looks Like IBM Is Building A Linux-Like PASE For IBM i After All
  • Will Independent IBM i Clouds Survive PowerVS?
  • Now, IBM Is Jacking Up Hardware Maintenance Prices
  • IBM i PTF Guide, Volume 27, Number 24
  • Big Blue Raises IBM i License Transfer Fees, Other Prices
  • Keep The IBM i Youth Movement Going With More Training, Better Tools
  • Remain Begins Migrating DevOps Tools To VS Code
  • IBM Readies LTO-10 Tape Drives And Libraries
  • IBM i PTF Guide, Volume 27, Number 23

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