• 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
    WorksRight Software

    Do you need area code information?
    Do you need ZIP Code information?
    Do you need ZIP+4 information?
    Do you need city name information?
    Do you need county information?
    Do you need a nearest dealer locator system?

    We can HELP! We have affordable AS/400 software and data to do all of the above. Whether you need a simple city name retrieval system or a sophisticated CASS postal coding system, we have it for you!

    The ZIP/CITY system is based on 5-digit ZIP Codes. You can retrieve city names, state names, county names, area codes, time zones, latitude, longitude, and more just by knowing the ZIP Code. We supply information on all the latest area code changes. A nearest dealer locator function is also included. ZIP/CITY includes software, data, monthly updates, and unlimited support. The cost is $495 per year.

    PER/ZIP4 is a sophisticated CASS certified postal coding system for assigning ZIP Codes, ZIP+4, carrier route, and delivery point codes. PER/ZIP4 also provides county names and FIPS codes. PER/ZIP4 can be used interactively, in batch, and with callable programs. PER/ZIP4 includes software, data, monthly updates, and unlimited support. The cost is $3,900 for the first year, and $1,950 for renewal.

    Just call us and we’ll arrange for 30 days FREE use of either ZIP/CITY or PER/ZIP4.

    WorksRight Software, Inc.
    Phone: 601-856-8337
    Fax: 601-856-9432
    Email: software@worksright.com
    Website: www.worksright.com

    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

  • What You Will Find In IBM i 7.6 TR1 and IBM i 7.5 TR7
  • Three Things For IBM i Shops To Consider About DevSecOps
  • Big Blue Converges IBM i RPG And System Z COBOL Code Assistants Into “Project Bob”
  • As I See It: Retirement Challenges
  • IBM i PTF Guide, Volume 27, Number 41
  • Stacking Up Power11 Entry Server Performance To Older Iron
  • Big Blue Boosts IBM i Support In Instana, Adds Tracing
  • It Is Time To Tell Us What You Are Thinking And Doing
  • IBM i PTF Guide, Volume 27, Number 40
  • The GenAI Boom Is Only Slightly Louder Than The Dot Com Boom

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