<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Anyone have a way to limit the number of people in a group? in Windchill</title>
    <link>https://community.ptc.com/t5/Windchill/Anyone-have-a-way-to-limit-the-number-of-people-in-a-group/m-p/983793#M82973</link>
    <description>&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Nov 2024 23:02:26 GMT</pubDate>
    <dc:creator>jbailey</dc:creator>
    <dc:date>2024-11-14T23:02:26Z</dc:date>
    <item>
      <title>Anyone have a way to limit the number of people in a group?</title>
      <link>https://community.ptc.com/t5/Windchill/Anyone-have-a-way-to-limit-the-number-of-people-in-a-group/m-p/983472#M82934</link>
      <description>&lt;P&gt;Version: Windchill 13.0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use Case: There are probably several use cases for this, however mine is pretty specific. I would like to find out if there is an ability to limit the number of people in a group.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Description: &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I work at a multi-location organization where each location has their own budget/allocation of resources. We are looking at consolidating Windchill into a single instance, however the locations need to independently manage their allocation of licenses. My thought would be to have a group assigned to each location for each license, and limit the number of people that can be added to the group based on the number of licenses allocated to that location.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thoguhts?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 12:53:45 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Windchill/Anyone-have-a-way-to-limit-the-number-of-people-in-a-group/m-p/983472#M82934</guid>
      <dc:creator>jbailey</dc:creator>
      <dc:date>2024-11-13T12:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone have a way to limit the number of people in a group?</title>
      <link>https://community.ptc.com/t5/Windchill/Anyone-have-a-way-to-limit-the-number-of-people-in-a-group/m-p/983481#M82937</link>
      <description>&lt;P&gt;Not a problem&amp;nbsp;&lt;a href="https://community.ptc.com/t5/user/viewprofilepage/user-id/243660"&gt;@jbailey&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use a listener to detect when a user or group is added to the group in question. If this addition exceeds the allowable number throw an exception state the max number is X and that number had been exceeded by Y users.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 13:41:23 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Windchill/Anyone-have-a-way-to-limit-the-number-of-people-in-a-group/m-p/983481#M82937</guid>
      <dc:creator>d_graham</dc:creator>
      <dc:date>2024-11-13T13:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone have a way to limit the number of people in a group?</title>
      <link>https://community.ptc.com/t5/Windchill/Anyone-have-a-way-to-limit-the-number-of-people-in-a-group/m-p/983684#M82954</link>
      <description>&lt;P&gt;Since we don't do much customization here, I may ask a few "basic" questions... Could this easily be done with specific groups?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 12:31:28 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Windchill/Anyone-have-a-way-to-limit-the-number-of-people-in-a-group/m-p/983684#M82954</guid>
      <dc:creator>jbailey</dc:creator>
      <dc:date>2024-11-14T12:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone have a way to limit the number of people in a group?</title>
      <link>https://community.ptc.com/t5/Windchill/Anyone-have-a-way-to-limit-the-number-of-people-in-a-group/m-p/983692#M82955</link>
      <description>&lt;P&gt;&lt;a href="https://community.ptc.com/t5/user/viewprofilepage/user-id/243660"&gt;@jbailey&lt;/a&gt;&amp;nbsp;, yes, this can be done to any group(s) you specify.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 12:49:55 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Windchill/Anyone-have-a-way-to-limit-the-number-of-people-in-a-group/m-p/983692#M82955</guid>
      <dc:creator>d_graham</dc:creator>
      <dc:date>2024-11-14T12:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone have a way to limit the number of people in a group?</title>
      <link>https://community.ptc.com/t5/Windchill/Anyone-have-a-way-to-limit-the-number-of-people-in-a-group/m-p/983693#M82956</link>
      <description>&lt;P&gt;Great, thanks. I will have to look at the customization guide on this.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 12:51:04 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Windchill/Anyone-have-a-way-to-limit-the-number-of-people-in-a-group/m-p/983693#M82956</guid>
      <dc:creator>jbailey</dc:creator>
      <dc:date>2024-11-14T12:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone have a way to limit the number of people in a group?</title>
      <link>https://community.ptc.com/t5/Windchill/Anyone-have-a-way-to-limit-the-number-of-people-in-a-group/m-p/983765#M82968</link>
      <description>&lt;P&gt;James, I couldn't resist so I got this working.&lt;/P&gt;
&lt;P&gt;In my code I've limited the number for users in the "Administrators" group to two.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the screenshot below I have two users in this group.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="d_graham_0-1731609421818.png" style="width: 400px;"&gt;&lt;img src="https://community.ptc.com/t5/image/serverpage/image-id/114179i932B9B84C99F790E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="d_graham_0-1731609421818.png" alt="d_graham_0-1731609421818.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I attempt to add another user....&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="d_graham_1-1731610163605.png" style="width: 400px;"&gt;&lt;img src="https://community.ptc.com/t5/image/serverpage/image-id/114181i9A1AEAE859B54E88/image-size/medium?v=v2&amp;amp;px=400" role="button" title="d_graham_1-1731610163605.png" alt="d_graham_1-1731610163605.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm notified that the maximum number of users for this group is 2 and I cannot add another user.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="d_graham_2-1731610273164.png" style="width: 400px;"&gt;&lt;img src="https://community.ptc.com/t5/image/serverpage/image-id/114183i3DE911972CFFA256/image-size/medium?v=v2&amp;amp;px=400" role="button" title="d_graham_2-1731610273164.png" alt="d_graham_2-1731610273164.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And yes, the code takes into account users that are in sub-groups.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 18:53:55 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Windchill/Anyone-have-a-way-to-limit-the-number-of-people-in-a-group/m-p/983765#M82968</guid>
      <dc:creator>d_graham</dc:creator>
      <dc:date>2024-11-14T18:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone have a way to limit the number of people in a group?</title>
      <link>https://community.ptc.com/t5/Windchill/Anyone-have-a-way-to-limit-the-number-of-people-in-a-group/m-p/983781#M82970</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Improved Exception message:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Then shalt thou count to three, no more, no less. Three shall be the number thou shalt count, and the number of the counting shall be three. Four shalt thou not count, neither count thou two, excepting that thou then proceed to three. Five is right out.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 20:45:59 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Windchill/Anyone-have-a-way-to-limit-the-number-of-people-in-a-group/m-p/983781#M82970</guid>
      <dc:creator>avillanueva</dc:creator>
      <dc:date>2024-11-14T20:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone have a way to limit the number of people in a group?</title>
      <link>https://community.ptc.com/t5/Windchill/Anyone-have-a-way-to-limit-the-number-of-people-in-a-group/m-p/983790#M82972</link>
      <description>&lt;P&gt;Awesome, any guidance on where I should start with this?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 22:27:49 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Windchill/Anyone-have-a-way-to-limit-the-number-of-people-in-a-group/m-p/983790#M82972</guid>
      <dc:creator>jbailey</dc:creator>
      <dc:date>2024-11-14T22:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone have a way to limit the number of people in a group?</title>
      <link>https://community.ptc.com/t5/Windchill/Anyone-have-a-way-to-limit-the-number-of-people-in-a-group/m-p/983793#M82973</link>
      <description>&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 23:02:26 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Windchill/Anyone-have-a-way-to-limit-the-number-of-people-in-a-group/m-p/983793#M82973</guid>
      <dc:creator>jbailey</dc:creator>
      <dc:date>2024-11-14T23:02:26Z</dc:date>
    </item>
  </channel>
</rss>

