Subcribe a Portal User Group to content change events on page?

Another developer at my shop has created a custom routine that programmatically subscribes the given user to content change events on a page. At the heart of their custom routine are the following Oracle Portal API calls:
portal.wwctx_api_private.set_context( v_user );
portal.wwsbr_app_approval.subscribe
p_object_context_id => v_siteid,
p_page_id => v_pageid
...where v_user is the account we want to subscribe for notification of content changes on the given page.
I have a need to extend this to allow subscriptions of Portal User Groups (PUGs) for the same content change events. It is not acceptable to statically subscribe the PUG membership, because I do not want a situation where today I subscribe all the members of group X, then tomorrow the membership of group X changes, but the list of subscribed users does not change automatically with the group membership modification. I could just as well manually subscribe each group member without going through the hassle of coding a modified subscription UI and backend routine to handle groups.
Any suggestions?
Thanks,
shastew

My shop is currently on 10g R1 (9.0.4.3). We will be upgrading to 10g R2 (10.1.2) in a few months, but this is not the 10.1.4 version your document link points to. Is CMEF included actually usable in 10.1.2?
Also, publish and subscribe solves a particular set of design issues and allows for a certain degree of flexibility of usage, however, I don't see any built-in support for the User Groups that Portal provides for assigning basic page permissions. It's the group support that I'm interested in...and I don't want to have to create duplications of groups outside of what I already have. I don't want to have to write an entire application infrastructure to support outside group membership maintenance just for supporting subscription notifications. This should have already been built-in to interface with the existing Portal page permissions group framework. At our shop, a lot of effort has already been put into setting up and maintaining these built-in groups and we should be able to re-use them for something as brain dead simple as subscription notification.
I've already given up and opened an enhancement request "TAR" for this.
shastew

Similar Messages

  • How to map Portal User groups to a MDM System?

    Hi,
    Have anyone tried mapping portal user group to a MDM System?
    The idea is to avoid each user to do user mapping for MDM of their own.
    When i look into the usermapping section of a portal user group, it shows me a message -
    "There are no systems available for user mapping for the selected principal"
    Thanks and best regards,
    Arun prabhu S

    Hi All,
    Got it!
    1. Create portal users,
    2. Create a portal user group,
    3. Assign Users to User group,
    4. Go to System Administration, edit permission of the MDM system, add the user group to the MDM system permission list and save
    5. Go to User Management, modify the user grooup, go to the User mapping of the user group and do mapping for MDM system and user group using a valid MDM User name and password and Save
    6. In User Management, modify the Portal role for MDM , add the user group to the role and save
    7. Edit permission of the role object, add the user group to the permission list and save
    Result:
    All the users assigned to the user group will be able to access MDM information on the portal correspond to the MDM mapping done at the user group level. This avoids self user mapping in personalization link.
    Best regards,
    Arun prabhu S

  • List of Portal Users/Groups

    Is there a way to get the list of users/groups in the Portal to allow us to add security to our custom built portlet? Once the security has been added, we can use the APIs to check if someone is privileged, but how do we get a list of the users/groups to select from in the first place.
    Regards
    Jenny

    Just check if<b> IRole and IUser</b> Interfaces have the necessary methods to do so.....

  • List of Portal Users/Group

    Is there a way to get the list of users/groups in the Portal to allow us to add security to our custom built portlet? Once the security has been added, we can use the APIs to check if someone is privileged, but how to we get a list of the users/groups to select from in the first place.
    Regards
    Jenny

    Search for LDAPSEARCH in metalink. I've seen a stored procedure that one may use to list either users or groups. You have to use both if you want to dump list of groups with users. Optionally there's an LDAPSEARCH command that may be used via command line. Refer to Metalink Note 251776.1. This note will give you syntax on the command line LDAPSEARCH. In order to do this though, you must know the base domain parameters for your portal groups...which you can obtain from the Administrator -> Global Settings -> SSO, and you also must know the password to your orcladmin superuser account that's used to login to the LDAP.
    Hope this helps...

  • Portala user group

    Hi all
    I use this code to diplay current user in my wed dynpro app under portal.
    IWDClientUser wdUser = WDClientUser.getCurrentUser();
    IUser user = wdUser.getSAPUser();
    if (user != null) {
    IUserAccount[] acct = user.getUserAccounts();
         if (acct[0] != null) {
              strUserid =
              wdUser.getLastName() + " " +wdUser.getFirstName();
    I need to know the portal group of current user, but i don't find solution...
    Thank to all
    Andrea

    This code returns the iterator containing the user groups. Once you have called it, you have to loop this iterator while hasnext = false.
    <b>try{
    IWDClientUser clientuser = WDClientUser.getCurrentUser();
    IUser user = clientuser.getSAPUser();
    Iterator userGroups = null;
    userGroups = user.getParentGroups(true);
    catch(Exception ex){
    wdThis.wdGetAPI().getComponent().getMessageManager().raiseMessage( IMessageYSP_CRM_CP_COCKPIT.USER_E , null,true);
    }</b>
    userGroups has the groups.
    Don't forget to loop the iterator in try statement.
    I Hope it can work.
    Grites!

  • User-Groups Change history

    Hi,
    Does SAP system maintains the user-groups change history in any tables. Like it does for users in USH* tables.
    Is Group Creation date, etc is recorded in any table ?
    If user-group description is changed, is it recorded in any tables ?
    Any pointers would be a great help !!!
    Thanks & Regards,
    Chandrasekhar.

    You could check the USGRP* tables to see if any relevant information is present. Hope this helps.

  • Last modified by for a user/group object

    Hi All,
    Is there any way to find out who has last modified the User/Group object in the portal.
    I can see the last account unlocked by for the user object. But is there any attribute to find out who has last modified the assigned groups/users for the user/group respectively or any change in the user/group profile.
    Thanks in advance,
    Siva
    Pts will be rewarded for useful answer.

    Hi Siva,
    as far as I know there is no standard way to find out who modified a user/group object in the portal. But I just checked the official API of <a href="https://help.sap.com/javadocs/NW04S/current/se/com/sap/security/api/IUser.html">IUser</a> (represents a portal user) and <a href="https://help.sap.com/javadocs/NW04S/current/se/com/sap/security/api/IGroup.html">IGroup</a> (represents a portal user group) and found out something interesting. <a href="https://help.sap.com/javadocs/NW04S/current/se/com/sap/security/api/IPrincipal.html">IPrinciple</a> (super object of IUser and IGroup) has a field LAST_MODIFIED_BY.
    Looks like you can write your own portal component, which allows you to find out who has modified your users last.
    Best regards,
    Martin

  • CC&B User group Security

    Hi,
    When a user is attached to multiple User groups (User group 1, User group 2), if User group 1 has access to change premise and User group 2 does not have access to change premise then the User has no access to change Premise. This is the current behavior of CC&B. Anyway to change this ? User group 1 has Change access to Premise application service and User group 2 does not have change access to Premise application service. User is linked to both User group 1 and User group 2
    it appears to be only when there is custom security
    Requirement is to set up like even if one User group has access then allow the user to make changes in premise. How to accomplish this ? Suggestions please
    Edited by: user8861524 on Jun 3, 2013 4:31 PM

    Hi
    First have you maintained the usergroup authorisations for that Z table? first do that.
    Then in the at selection-screen event you have to write the code:
    If R1 = 'X'.   " when one of the radiobutton is selected
      if R_main = 'X'.    " when pressed the Maintain button
         <write a select or other check for User group authrisation for Z table>
    endif.
    endif.
    Reward points if useful
    Regards
    Anji

  • Professional Users Groups?

    I have recently transitioned to a team that supports Streaming and live content for our company. We use Streaming Media Services, with the intent to move to IIS Media Services.
    Are there professional users groups for this service?  While supporting Configuration Manager I belonged to the Houston Area Systems Management Users Group (HASMUG), and attended events such as MMS and System Center Universe.  I was wondering if
    similarly focused groups exist to support Streaming Services.

    Care to share what the error message said and which OS system you are using?

  • How do you keep your users/groups in sync with latest developments?

    As there seems to be some reorganization happening with regards to the core system users and groups (with systemd develpment and whatnot) I feel somewhat uncertain about how I should set up my users, which are needed and so forth, seems every update of the filesystem package as of recent leaves me with changes to the users/groups in .pacnew files that needs careful merging to not screw up the system.
    There is of course https://wiki.archlinux.org/index.php/Users however this is usually outdated (it currently only has one systemd user while the most recent passwd has five). Last time I broke my system was when I tried to apply changes suggested by the wiki page, rather then trying to figure out the changes from the .pacnew files).
    Unfortunately I don't feel confident enough with the most recent changes to fix the wiki-page myself.
    Right now my method is rather ad-hoc, I read the .pacnew files and make some guesses as to what users/groups in my files were added by other packages and should be left alone, and what users/groups were deleted/changed/added from the actual filesystem package because of changes in for example how the lastest version of systemd works. As I've made wrong guesses before, I feel there might be a better way to deal with this.
    How do you do it?
    What are the best sources of updated information for what currently is the best practice way to set up the core system users/groups?

    I find it very helpful to know what has changed in the files from last update to the current, so I can see which of the differences to my files are from the package update and which are custom changes of other packages or myself. So I either compare a new *.pacnew file to the last one if I had saved it (what I do for some files), or I go and check the diff of the package update. To do that, I go to the package page for filesystem, click on View Changes under Package Actions, find the current version and follow its link. There one can see which files got what changes.
    For example the filesystem 2014.07-1 update had a change in the group file, input:x:97: got added, and also some changes in gshadow.
    Last edited by Sanne (2014-11-05 11:55:28)

  • Changing the sequence of roles/groups for Portal users after Login

    Hi
    We are at EP 7.0 SP11.
    We have developed custom role for ESS, MSS, EIC and Reports etc.
    Now when all the 3 roles are assigned to any user, the sequence of the display is generally
    Employee Self Service, Manager Self Service and then EIC.
    We need to change this sequence in Dev QA and production environment for some users preferably (or for all portal users), so that the 1st page which loads in portal after user logs in , is not necessary ESS. 
    The requirement can also be considered as, we need to change the default page which displays after user logs in.
    Does someone have any idea how can we achieve this ?
    Looking forward for your response.
    Thanks
    Neha

    Hi Neha,
    Add custom Welcome page/Home page(eu_role) and Sort Priority property as per  Koti Reddy.
    Hope it helps
    Regards
    Arun

  • How to change user group of a query (sq01)

    Hi,
    I'm working with SAP Queries (SQ01) and I don't know how can I change the user group assignation of a query. We did only one user group for all users and queries and know in order to arrange it a bit we've created three user groups.
    We know how to assign users to new user groups but for each query of the old group we neet to move it to one of the new user groups, how could we do this?
    thanks in advance

    Hi
    pls go through these links
    http://help.sap.com/saphelp_46c/helpdata/en/35/26b413afab52b9e10000009b38f974/content.htm
    Step-by-step guide for creating ABAP query
    http://www.sappoint.com/abap/ab4query.pdf
    ABAP query is mostly used by functional consultants.
    SAP Query
    Purpose
    The SAP Query application is used to create lists not already contained in the SAP standard system. It has been designed for users with little or no knowledge of the SAP programming language ABAP. SAP Query offers users a broad range of ways to define reporting programs and create different types of reports such as basic lists, statistics, and ranked lists.
    Features
    SAP Query's range of functions corresponds to the classical reporting functions available in the system. Requirements in this area such as list, statistic, or ranked list creation can be met using queries.
    All the data required by users for their lists can be selected from any SAP table created by the customer.
    for more information please go thru this url:
    http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Create_The_Query.asp
    http://goldenink.com/abap/sap_query.html
    Please check this PDF document (starting page 352) perhaps it will help u.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVQUE/BCSRVQUE.pdf
    check the below link will be helpful for u
    Tutorial on SQVI
    once you create query system generates a report starting with AQZZ/SAPQUERY/ABAGENCY2======= assing this report to tr code for the same

  • Portal Users in one database and Groups is other? portal 9.2

    Hi All!
    My question is as follows: Is it possible to have portal users stored in one database and groups stored in other database? Also the these are the groups to which the users belongs and groups already exist as part of the current legacy system. I have to create new application and only store users in the new DB and use the groups from the existing legacy system. Does BEA supports that? Also note that these groups are nothing but custom entities and not in BEA's GROUP table. So is there a way I can write some kind of provider which will extend BEA's user-group framework? I am using BEA portal 9.2.
    Please help!
    Thanks
    Sanjay

    You can fetch data from multiple lists in ListViewWebpart, this can be possible through Content Query web part or Custom Web Part using visual studio but in that case you can not get the standard SharePoint funcationality for list (which is available in
    ListViewWebparts).
    No OOB filter available for multi-choice column, you also have to go with custom solution to achieve this.
    Adnan Amin MCT, SharePoint Architect | If you find this post useful kindly please mark it as an answer.

  • 4.0.8.2.4  Cannot start listener after changing user/group to nobody/nobody

    Installed OAS 4.0.8.2.4 and configured it. Everything is working fine with listener, plsql cartridge, Java cartridge and OSSWA. But if change listener's user/group from Oracle/Dba to nobody/nobody. Listener will not start. It hangs in as follows:
    ========================================================================
    Information: Listening on NORM port 80 address 0.0.0.0
    Information: wriorProcessInit: RMProxy IOR Bootstrap Service initialized
    Information: Adapter services initialized successfully
    Information: The server started successfully
    Server now running as process 15654
    OWS-08850: Oracle Web Listener 'www' started.
    Oracle Web Listener 4.0.8.2.4 Enterprise Edition - Release (Domestic)
    Copyright (c) Oracle Corporation 2000. All rights reserved.
    Information: Listening on NORM port 5502 address 0.0.0.0
    Information: wriorProcessInit: RMProxy IOR Bootstrap Service initialized
    ===========================================================================
    from the message above, we can see if it failed to start the "Adapter services"
    If we change the user/group back to Oracle/Dba, it starts fine.
    And also, we have under $ORACLE_BASE/admin, the listener ( name devl ) permission has been changed accordingly to the user/group change. We follow the instruction from OAS configuration to change user/group.
    ( Read access to the configuration file
    Read access to all files that provide content for servicing requests
    Read access to all imagemap files
    Execute access to all Oracle Application Server binaries and program files that the Web Listener must execute
    Write access to the log and error files
    Read access to user directories )
    Thanks.

    Thanks. After a few more days testing. We finally figure out where it went wrong. We changed user/group from node manager. ( from Oracle/dba, installer, to nobody/nobody). After that, we only changed $ORACLE_BASE/admin/ows/SITE_name/httpd-host_name/listener_name to be read and write accessed by nobody. We forgot to change owl.cfg to be read access to nobody/nobody. After we changed that. It starts fine.
    Thanks again.

  • Changing Portal Role after the status change of user status at the CRM end.

    Hi,
    I have Portal with Java database as the default and CRM is connected to it using SSO.The database in both the case in separate.The users that are created in Portal will have a BP status in CRM sytsem.
    Now my requirement is that if the status of the BP gets changed at the backend simultaneoulsy its Portal role should also gets changed.How shall i facilitate this procedure of changing the Portal Role?
    Is there any RFC ,BAPi or Webservices required for this?
    Regards,
    Amarys
    Edited by: amarys on Sep 13, 2011 11:20 AM

    Hello,
    Since the status has no number it will appear under statuses W/O number bottom right in status overview window.
    These status will appear as additional text beside current user status. For example if user staus is BUG and status without number is DFL and sets when deletion flag is set and gets deleted when it is revoked than user status will appear as
    BUG DFL -
    Deletion flag set.
    BUG -
    When deletion flag revoked.
    You have to live with it. I don't think there is a way out for that.
    Thanks
    Saikishore Ganga.

Maybe you are looking for