Skip to Content
author's profile photo Former Member
Former Member

Users based on Portal Group

Hi all,

Is there any table or RFC which contains the Users based on Portal Group in ECC.I need to writa a programme which extracts the users based on poratal group.

Thanks and Regards,

Venkat

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 07, 2010 at 02:10 PM

    Hi Venkat ,

    If you want to extract users based on groups then you will have to create an abstract portal component for the same . Make use of UME api's and use the method - getusermembers(false) . The false parameter will ensure that only the users which are directly attached to the group are fetched .

    Regards

    Mayank

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      This has to be done at portal side because they are portal groups . You will have to create a component in NWDS and deploy the same as a par file on portal . In your code you can either hardcode the value of group or get it as an input from user using JSPDynpage . If you hardcode , you will have to change the group name everytime and deploy again to get the list of users .

      Regards

      Mayank

  • author's profile photo Former Member
    Former Member
    Posted on Sep 07, 2010 at 02:44 PM

    Hi Venkat,

    To get users of a group:

    boolean b =false;
    String name = null; 
    IGroup grp = UMFactory.getGroupFactory().getGroupByUniqueName("GroupName entered by User as a input");
    
    if(grp.equals("<Name of Group>"))
    {
           Iterator i = grp.getUserMembers(true);
           grp.getGroupMembers(true);
    
           for (int a= 0; i.hasNext(); a++)
           {
                  name = i.next().getClass().getName(); 
                  //Print / Store Name
           }
    }
    

    Regards,

    Vaibhav

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 08, 2010 at 06:10 AM

    Hi Venkatesh,

    Are you referring a "portal group in ECC" as to backend roles in ECC?

    Backend roles in ECC are shown as groups in portal. So if the portal group you want to report on is a backend role, then you can directly get the details of users attached to a particular backend role directly from backend ECC system using like transaction SUIM. If you want to have it in a code you can easily identify the RFC for this as there are lot of standard RFCs avaialble for users in ECC.

    Hope this helps.

    Jigar

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      If the portal group is created in portal and derived from ECC then you will not be able to do anything from ECC side. You can use the UME API in your code and then can retrieve the users based on your group.

      However, if you are in process of defining the portal groups, then you can investigate the option of using ECC backend roles as portal group if that matches your requirments. This will allow you to use lot of standard ECC reports adn RFCs to your advantage.

      Jigar

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.