List of all peers in group

I see the page at http://cookbooks.adobe.com/post_User_List_with_RTMFP_Groups-17535.html deals with the exact problem I'm facing: how to maintain a list of all the peers in a group?
But it seems kinda silly to depend on a 5 minute timeout till we know a user has disconnected, and 2 minutes till we know a user has connected...
My questions are:
1) Is there a better way
2) At least for the connect, why can't the peer just post() on connect? When I tried it, it doesn't go through. Yet if I wait a little while (well, via text input) it does. Is there a certain event that lets me know I can now post() to the group? Seems like I should block all traffic till that's available anyway...

a group is a distributed construct, and having a reliable, timely, and efficient enumeration of all the members at each member is infeasible.  choose any two of those. 
for your question #2, you could post something immediately on joining a group to let others know you're there.  however, you need to wait for the first NetGroup.Neighbor.Connect event, indicating that you have joined to at least one other member of the group.  until then, you're not completely connected to the group, so your posting won't propagate (since there's nowhere for it to go).

Similar Messages

  • Listing of Users with associated Groups

    Is there an easy way to generate a listing of APEX users and their associated groups? I know how to get the current user and how to determine what groups they are part of, but am looking for a simple query I can run to generate a complete list of Users and their associated groups.
    Thanks

    if you want to return the application groups that a user is assigned to, you can use the WWV_FLOW_GROUP_USERS intersection table. For example;
    SELECT group_name
    FROM wwv_flow_group_users
    WHERE user_id = (SELECT user_id
    FROM wwv_flow_users
    WHERE user_name ='MRITTMAN')
    would list out all of the groups that the user 'MRITTMAN' belongs to
    So to get all users and their groups, remove the where clause..
    (You will need read rights to the view, some dba's deny read rights to these objects in the name of security..)
    Thank you,
    Tony Miller
    Webster, TX

  • Getting list of all users and their group memberships from Active Directory

    Hi,
    I want to retrieve a list of all the users and their group memberships through JNDI from Active Directory. I am using the following code to achieve this:
    ==================
    import javax.naming.*;
    import java.util.Hashtable;
    import javax.naming.directory.*;
    public class GetUsersGroups{
         public static void main(String[] args){
              String[] attributeNames = {"memberOf"};
              //create an initial directory context
              Hashtable env = new Hashtable();
              env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
              env.put(Context.PROVIDER_URL, "ldap://172.19.1.32:389/");
              env.put(Context.SECURITY_AUTHENTICATION, "simple");
              env.put(Context.SECURITY_PRINCIPAL, "[email protected]");
              env.put(Context.SECURITY_CREDENTIALS, "p8admin");
              try {
                   // Create the initial directory context
                   DirContext ctx = new InitialDirContext(env);     
                   //get all the users list and their group memberships
                   NamingEnumeration contentsEnum = ctx.list("CN=Users,DC=filenetp8,DC=com");
                   while (contentsEnum.hasMore()){
                        NameClassPair ncp = (NameClassPair) contentsEnum.next();
                        String userName = ncp.getName();
                        System.out.println("User: "+userName);
                        try{
                             System.out.println("am here....1");
                             Attributes attrs = ctx.getAttributes(userName, attributeNames); // only asked for one attribute so only one should be returned
                             System.out.println("am here....2");
                             Attribute groupsAttribute = attrs.get(attributeNames[0]); // memberOf
                             System.out.println("-----"+groupsAttribute.size());
                             if (groupsAttribute != null){
                                  // memberOf is a multi valued attribute
                                  for (int i=0; i<groupsAttribute.size(); i++){
                                  // print out each group that user belongs to
                                  System.out.println("MemberOf: "+groupsAttribute.get(i));
                        }catch(NamingException ne){
                        // ignore for now
                   System.err.println("Problem encountered....0000:" + ne);
                   //get all the groups list
              } catch (NamingException e) {
              System.err.println("Problem encountered 1111:" + e);
    =================
    The following exception gets thrown at every user entry:
    User: CN=Administrator
    am here....1
    Problem encountered....0000:javax.naming.NamingException: [LDAP: error code 1 -
    000020D6: SvcErr: DSID-03100690, problem 5012 (DIR_ERROR), data 0
    ]; remaining name 'CN=Administrator'
    I think it gets thrown at this line in the code:
    Attributes attrs = ctx.getAttributes(userName, attributeNames);
    Any idea how to overcome this and where am I wrong?
    Thanks in advance,
    Regards.

    In this sentence:
    Attributes attrs = ctx.getAttributes(userName, attributeNames); // only asked for one attribute so only one should
    It seems Ok when I add "CN=Users,DC=filenetp8,DC=com" after userName, just as
    userName + ",CN=Users,DC=filenetp8,DC=com"
    But I still have some problem with it.
    Hope it will be useful for you.

  • Command to list all email aliases /groups and members on the mail server.

    Hi,
    We are using SJS MEssaging server 6.2 .
    Which is the command to use to list all email aliases/groups and members on the mail server.
    Thanks,

    sureshsamuel wrote:
    We are using SJS MEssaging server 6.2 .
    Which is the command to use to list all email aliases/groups and members on the mail server.Email aliases/groups can exist in text files in the configuration directory of Messaging Server or be defined in the LDAP Directory Server. You can use the "commadmin group search" command to list the ldap groups (if you have Delegated Administration installed/configured), otherwise you can use a directory ldapsearch to find the groups.
    Regards,
    Shane.

  • Reporting In Service Manager 2012 - How To Get A List Of All Service Requests Regardless of Status

    Within the Custom Reporting Options available to users of Ssystem Center Service Manager 2012, which would one use to create reports that do not contain any agregated data but are instead detail level info such as a list of all Service Requests reardless
    of status?  I want to include within the report the same data you see on the main page of a Service Request when you double-click a Service Request within Service Manager and it pops opne the details of the Service Request.
    I'm trying to get the following info for each Service Requests
    SR ID (i.e. SR1234)
    Affected User
    Title
    Description
    Priority
    Source
    Area
    Support Group
    Assigned To
    Created By and Created On
    I know the cubes w/Excel offer a great way to get data for a **piece meal report or for getting agregated data (I.E. counts, sums, avergares, Max's & Mins) but I need a report that has zero totals and no agregations. 
    Thanks
    ** A piece meal report is a report that has to be manually pieced together by combining data from others reports and other sources because no single report can be constructed to bring all the data togethere into a single report.  If you've ever
    worked with an accountant taht uses Excel for everything but who has no idea how SQL or databases in general are deisgned then chances are you've either been asked to create a piece meal report for them and or seen them do one them selves when they open a
    spreadshet and dump into it disperate data from a variety of sources and then ask you why you can't automate that same report for them.

    the following thread covers some good SQL queries to get details about the Incident Request, just amend them to cover the Service Request
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/e703641d-3e05-4df4-be2b-bf9bd62534f8/how-to-generate-incident-report-with-incident-description-field-in-scsm-2012-sp1

  • How do I see a list of all my Apple Mail contacts. I do not use address book. I just want to see all the email addresses stored on my Mac

    Hi All,
    I have been using Mail for the past three years without need to send a regular mailing list mailout.
    I now need to send group emails and all I want to do is browse my contacts aquired over the last three years to create a list. I have not used Address Book for anything other than phone contacts so please do not point me in that dirrection.
    There must be a list of all email contacts stored somewhere on the Mac that I can look through. It is an almost impossible task to do this by browsing my inbox/sent folders.
    Hope you can help and thanks in advance!
    Best
    Adam

    0. find the user id.
        a. log in as that specific user.
        b. run terminal
        c. type "echo $UID"
        d. write down the user id that will be displayed
    1. Go to the finder
    2. go to the user home folder
    3. click the box with the magnifying glass (upper right corner of the window)
    4. type .jpg
    5. a menu will pop under the magnifying glass box, select "jpg image"
    6. click the "plus" sign that's displayed to the right of the word "save"
    7. two pull down menus will appear, select "other" from the first one
    8. a new window will pull down, scroll to "owner" and select it
    9. back in the original window type the user id (a number) to the right of "owner" "equals"
    Hope this helps

  • I have two albums (RCA Sweeny Todd 2 discs set and RCA Into the Woods 1 disc) where the songs are listed as being on the same album on the list view, but do not group together on the iPod, so the songs can't play consecutively, or in the proper order.

    I have two albums (RCA Sweeny Todd 2 discs set and RCA Into the Woods 1 disc) where the songs are listed as being on the same album on the list view, but do not group together on the iPod, so the songs can't play consecutively, or in the proper order. The "Apply Sort Field" and "Same album does not work, but ti is only these two RCA albums that do this. All other albums remain intact. Need help with this minor problem. Thanks.

    UPDATE: This behavior (to an extent) still happens when "Repeat Album" is off. Instead of an infinite loop, it goes through all the tracks on the album (unsuccessfully) and kicks me out to the Album overview screen. Going back to list of Albums and tapping the Album again brings up "No Content: You can download music from the iTunes Store" but that screen immediately kicks me back to list of Albums.
    So I am just even more confused now.

  • How to populate a sharepoint 2010 list from the active directory. How to populate a sharepoint 2010 list with all sharepoint user profiles

    How to populate a sharepoint 2010 from the active directory.
    I want a list of all the computers in the active directory,
    another one with all users.
    I want also to populate a sharepoint 2010 list from the sharepoint user profiles.
    Thanks
    sz

    While
    the contacts list is usually filled out for contacts that are outside the company, there are times when you would use a contacts list to store internal and external resources.  Wouldn’t it be nice if you didn’t have to re-type your internal contacts’
    information that are already in the system?  Now you can with a little InfoPath customization on the contacts list. 
    Here’s our plan:
    Create the contacts list, and open in InfoPath
    Create a data connection to the User Profile web service
    Customize the form adding some text, a people picker and a button
    Create InfoPath rules that will populate the contact fields from the user fields in the User Profile store
    Let’s get going!  Before we begin, make sure you have InfoPath 2010 installed locally on your computer.  I also want to give credit Laura
    Rogers and Darvish Shadravan’s book Using
    Microsoft InfoPath 2010 with Microsoft SharePoint 2010 Step by Step.  I know it looks like a lot of steps, but it’s easy once you get the hang of it.
    So obviously we need a contacts list.  If you don’t already have one, go to the SharePoint site where it will live, and create a contacts list.
    From the list, click the List tab on the ribbon, then click Customize form:
    So now we have our form open in InfoPath 2010.  Let’s add our elements to the form. 
    Above all the fields, let’s add some text instructing users what to do with the the field we’re about to add (.e.g To enter an existing user’s information, choose the user below).
    Insert a people picker control by clicking the Person/Group Picker control in the Controls section of the ribbon.  This will add a column to the contacts list called group.
    Below the people picker, insert a button control from the same section of the ribbon as above.  With the button still highlighted, click the Control Tools|Properties tab on the ribbon. 
    Then in the Label box, change the text to something more appropriate to our task (e.g. Click here to load user data!).
    You can drag the button control a little larger to account for the text.
    We should end up with something like this:
    Before we can populate the fields with user data, we need to create a connection to the User Profile Service.
    Add a data connection to the User Profile Service
    Click the Data tab on the ribbon, and click the option From Web Service, and From SOAP Web Service.
    For the location, enter the URL of your SharePoint site in the following format – http://<site url>/_vti_bin/UserProfileService.asmx?WSDL.  Click Next.
    Note - for the URL, it can be any SharePoint site URL, not just to the site where your list is.
    For the operation, choose GetUserProfileByName.  Click Next.
    Click Next on the next two screens.
    On the final screen, uncheck the box for “Automatically retrieve data when form is opened”. This is because we are going to retrieve the data when the button is clicked, also for performance reasons.
    Now we need to wire up the actions on our button to populate the fields with the information for the user in the people picker control.
    Tell the form to read the user from the people picker control
    Click the Home tab on the ribbon.
    Click the button control we created, and under the Rules section of the ribbon, click Manage Rules. Notice the pane appear on the far right.
    In the Rules pane, click New –> Action. Change the name to something like “Query and load user data”.
    Leave the condition to default (none – rule runs when button is clicked).
    Click the Add button next to “Run these actions:”, and choose “Set a field’s value”.
    For Field, click the button on the right to load the select a field dialog.  Click the Show advanced view on the bottom.  At the top, click the drop down and choose the GetUserProfileByName
    (Secondary) option.  Expand myFields and queryFields to the last option and highlightAccountName.  Click ok. 
    For Value, click the formula icon. On the formula screen, click the Insert Field or Group button. Again click the show advanced view link, but this time leave the data
    connection as Main. Expand dataFields, then mySharePointListItem_RW.  At the bottom you should see a folder called group (the people picker control we just added to the form).  Expand this, then pc:Person,
    and highlightAccountId.  Click Ok twice to get back to the Rules pane.
    If we didn’t do this and just queried the user profile service, it would load the data of the currently logged in user.  So we need to tell the form what user to load the data for.  We take the AccountID field from the people
    picker control and inject into the AccountName query field of the User Profile Service data connection. 
    Load the user profile service information for the chosen user
    Click the Add button next to “Run these actions:”, and choose Query for data.
    In the popup, for Data connection, click the one we created earlier – GetUserProfileByName and clickOk.
    We’re closing in on our goal.  Let’s see our progress.  We should see something like this:
    Now that we have the user’s data read into the form, we can populate the fields in the contact form.  The number of steps to complete will depend on how many fields you want to populate.  We need to add an action step for
    each field.  I’ll show you one example and then you will just repeat the steps for the other fields.  Let’s update the Job Title field.
    Populate the contact form fields with existing user’s data
    Click the Add button next to “Run these actions:”, and choose “Set a field’s value”.
    For Field, click the button on the right to load the select a field dialog.  Highlight the field Job Title.
    For Value, click the formula icon. On the formula screen, click the Insert Field or Group button.  Click the Show advanced view on the bottom. At the top, click the
    drop down and choose theGetUserProfileByName (Secondary) option.  Expand the fields all the way down until you see the Value field.  Highlight it but don’t click ok, but click the Filter
    Data button, then Add. 
    For the first dropdown that says Value, choose Select a field or group.   The value field will be highlighted, but click the field Name field
    under PropertyData.  Click Ok. 
    In the blank field after “is equal to”, click in the box and choose Type text.  Then type the text Title. 
    Click ok until you get back to the Manage Rules pane.  The last previous screen will look like this.
    We’re going to update common fields that are in the user’s profile, and likely from Active Directory.  You can update fields like first and last name, company, mobile and work phone number, etc.  For the other fields, the
    steps are the same except the Field you choose to update from the form, and the very last step where you enter the text will change.  Here’s what the rules look like when we’re done:
    We’re all done, good work!  You can preview the form and try it now.  Click Ctrl+Shift+B to preview the form.  Once you’re satisfied, you can publish the form back to the library.  Click File –> Quick
    Publish.  Once it’s done, you will get confirmation:
    Now open your form in SharePoint.  From the contact list, click Add new item.  Type in a name, and click the button and watch the magic happen!

  • I need a list of all the organizational units, sub organizational units,

    I need a list of all the organizational units, sub organizational
    units,and their security groups which are present in all sub OUs

    Hi,
    There are lots of way to export OU, Sub OU and Security Group.
    1> Open AD console > run query > export with CSV file.
    2> Run “CSVD” command as per your requirement.
    3>Download Manage Engine Software > Install to any computer of Domain member > Set credential for domain controller access > Export the customized information, as per your requirement with XLS, PDF,
    CSV or Ect.
    3rd option is very easy to export customized reports
    Deepak Kotian.
    MCP, MCTS, MCITP Exchange 2010 Ent. Administrator
    Disclaimer:
    Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognizes useful contributions. Thanks!
    All the opinions expressed here is mine. This posting is provided "AS IS"
    with no warranties or guarantees and confers no right

  • Get a list of all available Property MetaData through API

    Hello,
    We have create some custom Property MetaData and assigned them to an new group.
    Now I need to be able to get a list of all the Property MetaData in this new group using a SAP portal API.
    But the only code snippets I've found requires at least the name if the property metadata.
    In other cases a KM IResource object is needed but then you only have the property metadata that's applicable on that IResource.
    Is it possible to do what I have in mind?
    If so can you point me into the correct direction, or provide a code example.
    I've been looking at the IMetaModel, IMetaGroupListIterator, IMetaGroup etc but I've not found any solution.
    Thanks a lot!
    Kind regards,
    Dries

    Hi
    Try this:     
      IConfigurationAccess icAccess = Configuration.getInstance();
      IWDClientUser wdcu = WDClientUser.getCurrentUser();
       com.sap.security.api.IUser sapUser = wdcu.getSAPUser();
      IUser user = WPUMFactory.getUserFactory().getEP5User(sapUser);
      IConfigClientContext confContext = IConfigClientContext.createContext(user);
    IConfigManager icManager = icAccess.getConfigManager(confContext);
      IConfigPlugin icPlugin = icManager.getConfigPlugin(ConfigurationProxy.CFG_PLUGIN_CM_SERVICES_PROPERTIES_METADATA);
    IMutableConfigurable[] mcs = icPlugin.getConfigurables();
    this mcs object will give you list of all meta data property for this user.
    Hope this helps
    Regards
    Puneet

  • Query to find list of all tables relating to BP

    Hi,
    Is there any query which can generate list of all table names relating to BP?
    For example tables like BUT000,020,051 etc which are related to BP. I know a list of 14-15 table names but do not know the name of each and every field that is existing in BP.
    By writing a query can we get a list of all such table names for all the fields which appear in Field Grouping (which may be Role specfic)

    Hi Praveen,
    Well I am not aware of such query but if you want the CRM data model give me your mail ID i will send it to you in which you will find all the required details.
    Best regards,
    Vikash.

  • A list of all staff currently employed by one org

    User want list of all staff currently employed by XXXX organization.
    I ran this query
      SELECT papf.employee_number, papf.first_name, papf.last_name
        FROM per_all_people_f papf,
             per_all_assignments_f paaf,
             hr_all_organization_units haou
       WHERE     1 = 1
             AND paaf.organization_id = haou.organization_id
             AND papf.person_id = paaf.person_id
             AND TRUNC (SYSDATE) BETWEEN papf.effective_start_date
                                     AND papf.effective_end_date
             AND TRUNC (SYSDATE) BETWEEN paaf.effective_start_date
                                     AND paaf.effective_end_date
             AND haou.name = 'XXXXX'
    --and papf.employee_number is not null
    -- and papf.current_employee_flag= 'Y'
    GROUP BY papf.employee_number, papf.first_name, papf.last_name
    The user said this is wrong data, some eployee number is not and the number of employees are more than my extract.
    Please help me with query.

    HI,
    you aren't necessarily looking at current employees, i.e ones where the per_periods_of_service actual_termination_date is null or in the future for the assignments,
    additionally you could be pulling in Applicatnt , Benefit , contingent worker assignments too.
    try
        SELECT papf.employee_number, papf.first_name, papf.last_name
            FROM per_all_people_f papf,
                 per_all_assignments_f paaf,
                  per_periods_of_service pps,
                 hr_all_organization_units haou
           WHERE     1 = 1
                 AND paaf.organization_id = haou.organization_id
                 AND papf.person_id = paaf.person_id
                 AND papf.person_id = pps.person_id
                AND pps.period_of_service_id = pps.period_of_service_id
                AND paaf.assignment_type in ('E','C')
                AND trunc(sysdate) <= nvl(pps.actual_termination_date, trunc(sysdate))
          AND TRUNC (SYSDATE) BETWEEN papf.effective_start_date
                                       AND papf.effective_end_date
               AND TRUNC (SYSDATE) BETWEEN paaf.effective_start_date
                                       AND paaf.effective_end_date
               AND haou.name = 'XXXXX'
    GROUP BY papf.employee_number, papf.first_name, papf.last_name

  • List of all queries in the system

    Hi all
    <b>I want to get a list of all QUERIES in my BW system and the details of the DATA TARGETS (cube or ODS) on which they are made.</b>
    Can i get it from any TABLE or TRANSACTION? or will i have to go to each query ( grouped by INFOAREA) to do the same. This i felt will be very tedious. Please advise.
    Regards,
    Pradyut.

    Hi Pradyut,
    Use this table instead - RSZCOMPIC. Give the selection parameter as cube/ods technical name and the version as active.
    This would give the list of technical name of the queries for a Cube/ODS. To get the description of the query use the table RSZCOMPDIR -> give the technical name of the query as input parameter and get the desription. The description is stores in the COMPID field.
    Hope this helps.
    Bye
    Dinesh
    (Do not forget to assign points!!)

  • How to create price list in all item..?

    Hi all,
    I want to modify the price list in all items because changing the price. If I have more 100 items, I have got difficult change on SBO one by one, there is not an efficient and need a long time. I used SBO 2005A PL 43.
    How to create it fast on SBO? How to create add on module to modify the price list in all items so I modify the price list is faster? I don't know relationship the tables to change the price list on SBO. Please let me know...
    Thanks in advance for your help....
    Agung

    Dear Mr Adrianto,
    In the stock module under price list there are different options. It could be possible to change the prices of Parent items according to thier children's prices.
    Also, you can use the option: Special prices for BP, if you need to change the prices for on BP.
    There is also the discount group if you want to reduce the price of items for the whole group. Please note that you can also increase prices when you use a percentage > 100%.
    Kind Regards,
    Marcella Rivi
    SAP Business One Forums Team

  • List of all JD Edwards EnterpriseOne User ID's including E1 Manager.

    Dear Guru's
    I'm new to this group, Could you please help me to get the list of all the Users under JE Edwards EnterpriseOne, including the Users at EnterpriseOne manager, for ex: admin users.
    Looking forward to hear you soon!
    Thanks in advance.
    Regards,
    Iqbal...

    Hi..
    if you are asking for the normal JDE User :
    IN THE FAST PATH TYPE : Users
    press find..
    these are the user in the JDE System..
    is this your request?

Maybe you are looking for

  • How can i add applet in application urgent

    Sir i design some buttons in cofeecup applet button factory it gives me an applet code.i design all drop down menus now i want to and it in my application. thanks in advance

  • Java doesn't read cs1.Keyboard

    I install the jar on lib folder but it is not working. It doesn't recognize cs1.Keyboard package... Could you help me?

  • Drop down in the Input Schedule for Dimension

    Hi Friends In my input schedule, for the Dimension Entity ( I have 13 entities which i am presently chossing from Current View), i want to put separate Tab for each entity in my input schedule. So that instead of chossing from the current view, they

  • What are major differences between the T5 and the T5i

    What are the major differences between the T5 and the T5i?

  • Can i create Keyboard Shortcuts?

    Hi guys, Does Acrobat has keyboard shortcuts that i could configure or change? When i get a nice designed pdf i like to know each font characteristics and is too slow to go one by one by click, select, right mouse button....Properties everytime. If i