Retrieving a portal users list once connected to Apex 1.6 ?

Hi,
We connect to Apex through a Portal SSO connexion. Once connected, we use the wwv_flow_ldap.is_member function to show or hide certain pages to some users. I now need to create a lov which would retrieve all users of a certain Portal group. Is there an api or a fonction to do that ?
Thanks

Yes there are several group functions and procedures provided in the wwsec_api. This link here
http://www.oracle.com/technology/products/ias/portal/html/plsqldoc/pldoc1014/index.html
explains more about them. Although the wwsec_api.person_info function returns a wwsec_person%ROWTYPE and there is a default_group column, not sure what this is used for but you could try using that?
Hope this helps.
Danny

Similar Messages

  • Wwsec_public_directory Portal User Listing

    In 9iAS v2 Portal (9.0.2.2.22), what happened to the functionality that was available with wwsec_public_directory view of portal users. That view still exists, but isn't populated. I presume this information is now in OID, but how do you access it? Trying to alter the people_app to use with my portal users. Does anyone have a sample of creating a hierarchy.

    I have the question posed on both forums, but received no response.
    However, I eventually figured a way to make it all work. Here is the thread with the solution I implemented for futeure reference:
    http://technet.oracle.com:89/ubb/Forum83/HTML/000675.html
    null

  • Portal users list

    Why I don't see ALL existing portal users?
    Any ideas?
    Regards,
    Michael

    I solved my problem by myself,thanks

  • User error when connecting to Apex on XE with Oracle drive

    Hi,
    When I tried to connect to Apex (webdav) on an XE database to access themes and css with Oracle Drive it sends incorrect user or password message, I tried with sys, system and other users.
    With windows explorer I could connect using the same user.
    Any help to sove my problem is welcome
    thanks

    Steve_Macleod wrote:
    I am having some issues with connecting to Apex Listener via SQL Developer. I get "cannot connect to connection" when I attempt to connect.
    I do get apex pages (when I use the Glassfish default port - it doesn't seem to take the specified port which is defined as 7788 in the apex.properties at the config.dir location). The port specified in apex.properties is only used by Standalone Mode, the port that GlassFish uses is configured by GlassFish, not Listener.
    I have defined the user via the war config (which is written to the credentials file), and added the users under default config > file realm in Glassfish.You only need to do the former, doing the latter should have no effect, I would remove the user in the GlassFish file realm, to avoid causing confusion.
    I wonder if anyone has had a similar issue?
    Ensure you have spelt the role name correctly when setting up the user, any typos (it is case sensitive) and it won't match the role, and will therefore refuse access.
    You have disabled SSL verfication as well? (If you are not using SSL)
    http://docs.oracle.com/cd/E37099_01/doc/doc.20/e25066/install.htm#CHDJFAAI
    If neither of those work, try turning on logging in the Listener to see if the request is even reaching Listener (It sounds like it's not even connecting TBH).
    https://cdivilly.wordpress.com/2013/03/11/configuring-logging-with-oracle-application-express-listener-and-glassfish/
    I am using the following:
    Glassfish 3.1.2.2
    Apex Listener 2.0.2.133.14.50
    SQL Dev 3.2.09
    Edited by: Steve_Macleod on May 24, 2013 2:42 PM
    Edited by: Steve_Macleod on May 24, 2013 2:57 PM

  • Portal User List

    Hi
    In Portal there are arround 80,000 users and the requirement is to extract the user details.
    My Query, is it feasible to write an custom program and extract this huge amount of user details using UME API?
    Is it possible to extract the data from DB directly. If yes, what sort of access  rights would be required?
    Regards,

    Hi,
    Well i personally feel that extracting 80, 000 users would be a lttle more time occupying and might effect the performance.
    Anyways try through this then -
    User Admin -> Import/Export -> User Data Export -> Press Export Button -> Copy the user content and store in a seperate file -> Done.
    Also you might need to change particular values as below in UME configuration:
    ume.admin.search_maxhits
    ume.admin.search_maxhits_ warninglevel
    By setting these parameters to
    ume.admin.search_maxhits - 80,000
    ume.admin.search_maxhits_ warninglevel - 80,000
    Regards,
    Shailesh

  • Retrieving portal user name

    Hi,all
    In NW 2004 I retrieved the user name of portal user by following:
    HttpServletRequest req =((com.sap.tc.webdynpro.services.sal.adapter.core.IWebContextAdapter) WDWebContextAdapter.getWebContextAdapter ()).getHttpServletRequest();   
    wdContext.currentContextElement().setUserName(req.getRemoteUser());
    But in NW 2004S it is not working.I can not to locate IWebContextAdapter.
    How can I retrieve the portal user name here?
    Regards,
    Michael

    Hi,
    Please try following code and let me know.
    import com.sap.tc.webdynpro.services.sal.um.api.IWDClientUser;
    import com.sap.tc.webdynpro.services.sal.um.api.WDClientUser;
    try
         //get the currently logged in user
         IWDClientUser wdUser = WDClientUser.getCurrentUser();
        //get the com.sap.security.api.Iuser; It is null in case wdUser represents an anonymous user
        IUser user = wdUser.getSAPUser();
       //check whether the user is anonymous
       if (user != null)
          //access logon ID by iterating through the IUserAccount array
          IUserAccount[] acct = user.getUserAccounts();
         if(acct[0] != null)
            String strUserid = acct[0].getLogonUid();
            wdContext.currentContextElement().setId(strUserid);
            //pass the value obtained from the portal to value attribute
    catch (Exception e)
       wdComponentAPI.getMessageManager().reportException("Failed to get current user: " + e.getLocalizedMessage(), true);
    Regards,
    Vaibhav

  • How can we retrieve the Porta User in the Webdynpro Application

    Hi,
    How can we retrieve the portal user information in the webdynpro applications?.
    Thanks in Advance
    Chandra.

    Hi Chandra,
    In the init() funtion of your View use client USER API below is the usage of it..
         String Username = "";
         IWDClientUser wdUser = null;
                   try {
                   wdUser = WDClientUser.getCurrentUser();
                   } catch (WDUMException e) {
                   e.printStackTrace();
         IUser user = wdUser.getSAPUser();      
         Username =user.getUniqueName()
    Thanks Raj.
    xxxxxxxxxxxxxxxxxxxxxxxxx
    Edited by: Armin Reichert on Feb 18, 2008 7:27 PM

  • Retrieve portal user

    Hi,
    can somebody help me. I want at starting of a WD application. That it retreives the portal user as in input of the bapi. Is there a tutorial or can somebody explain me what code i need to use  or ahat i need to do
    Regards

    Hi,
       Let's say that you are doing the username retrieval part in the custom controller. So create a value attribute say, UserName in the custom controller's context. Also create a value attribute of the same name in the view controller's context under the value node that is boind to the datasource property of the table and map the custom controller attribute to the view controller's attribute. The view context might look like:
    -Root
    --TableDataNode
    ---UserName
    ---... (other nodes)
       Once you have fetched the user name in the custom controller, use a code like:
    wdContext.currentContextElement().setUserName(userNameStr);
    Now in your view, create a table column to show the user name. Insert a textview as the cell editor and bind the
    text property to, TableData.UserName.
    Regards,
    Satyajit.

  • View list of connected users in console.  Is that gone?

    I can't seem to find where in the WLS 6.1 console to find a list of
    connected users. Has that view been removed in the switch to JMX?

    There may be an easier way, but here's how I did it:
    Install Pseudo.
    Install the Apple Developer Tools.
    Launch Pseudo and drag /Developer/Applications/Utilities/Property List Editor.app into its window
    In the Property List Editor, open /Library/Preferences/com.apple.AppleFileSharing.plist
    Set the first key under Root, the activityLog, to "Yes". Save the file.
    Start File Sharing. Open Console. Look for /Library/Logs/AppleFileService/AppleFileServiceAccess.log
    This log file will list all connection attempts, with the IPv4 or IPv6 address and user name.
    Once this log is set up, you can then use third-party utilities such as xAFP to monitor the connections in your menubar.
    Matt

  • How do I view a list of connections (Connected users) to a service like web or file services?

    how do I view a list of connections (Connected users) to a service like web or file services? you used to be able to do this in Server Admin in 10.6 by lleft clicking on a service like file sharing and the clicking connections located towards the top of the server admin window. This seems to havedisappeared  in Lion server and its a useful feature
    any suggestions would be very welcome. Thank You.

    I've found a way through Terminal for AFP and Mail:
    https://discussions.apple.com/message/16155552#16155552

  • I need a table/view so I can list current portal users

    Is there a table/view that I can use within portal that holds the names of all the portal users ?

    That link looks interesting - couldn't get the code in Appendix A to work for some reason. I assume it should be run in the ORASSO schema?
    Anyway, I need to get a list of Portal users and their group memberships from PL/SQL.
    What is the best way to approach this?
    Cheers,
    John

  • Portal User Profiles Search List

    I've installed Portal successfully and everything seems to be working. One problem i do have is this.
    When you click on the search button to list all available portal user profiles it brings up the list correctly but when i click on the hyperlink to select the user nothing happens.
    The same thing is happening when selecting an extenal application in the add provider screen.
    Has anyone had a similar problem before or knows why this is happening?
    Thanks in advance
    Neil Malcolm

    Hi,
         Actually the number of users are too large. So it may take more time. Try doing the export from the machine which is very fast ,I mean in performance. That may help you save time. But if this happens because of some problem, then have a look at
    <Drive:>/usr/sap/<SID>/<INSTANCE>/j2ee/cluster/server<N>/log/defaultTrace.trc from the server. Check the latest trace file.
    http://help.sap.com/saphelp_nw04s/helpdata/en/f2/6a82270fd99844a65085bd90022fab/frameset.htm
    Regards,
    Harini S

  • Restrict Data to only Connected Portal User

    I'm trying to restrict a connected portal user to view only his own data , meaning
    where USER_NAME in my table = (Connected user name)
    in this way he will only update and query only records related to him
    Many thanks

    Where exactly do you put this in a Portal Form?
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Dolf-Jan Mulder ([email protected]):
    When there is a column user_name in your table, try the following:
    SELECT ..
    FROM ..
    WHERE user_name = wwctx_api.get_user;
    Dolf-Jan<HR></BLOCKQUOTE>
    null

  • List of connected users

    Anyone know how to get a list of users that are connected to WebLogic?
    Specifically, we have this application that we run, all servlet
    based. When a user first connects to the URL they are authenticated.
    Is there anyway for us to find out all the users connected in this
    manner? Thanks for the help!

    Search the Servlet section for SessionBinding.
    Peace,
    Cameron Purdy
    Tangosol, Inc.
    http://www.tangosol.com
    Tangosol Server: Enabling enterprise application customization
    "farzana sultan" <[email protected]> wrote in message
    news:3b328c7e$[email protected]..
    >
    Hi,
    In my code, I would like to know the names of all the connected users.I would
    appreciate if you help me out. Thanks.
    farzana

  • List of Portal users with the assigned Roles.....

    Hello All,
    I am working on EP6 SP9 and want to know from where can I get a list of all Portal users along with the assigned roles for each of them.
    One way I found is by searching for all users in User Administration role and along with the searched users, there is also an icon for Assigned roles.
    Apart from the above mentioned way, is there any other way by which I can get a direct list of the same. Is there a Java sample code for this.....?
    Please help.
    Awaiting Reply.
    Thanks and Warm Regards,
    Ritu R Hunjan

    Hi Ritu,
    Yes it is possible to get the roles of the users. You can try the following java code.
    package com.hcl.user;
    import java.util.Iterator;
    import java.util.Vector;
    import com.sap.security.api.IRole;
    import com.sap.security.api.IRoleFactory;
    import com.sap.security.api.IRoleSearchFilter;
    import com.sap.security.api.ISearchResult;
    import com.sap.security.api.IUser;
    import com.sap.security.api.IUserAccount;
    import com.sap.security.api.IUserFactory;
    import com.sap.security.api.UMFactory;
    import com.sapportals.portal.prt.component.AbstractPortalComponent;
    import com.sapportals.portal.prt.component.IPortalComponentRequest;
    import com.sapportals.portal.prt.component.IPortalComponentResponse;
    public class role_member extends AbstractPortalComponent {
    public void doContent(
    IPortalComponentRequest request,
    IPortalComponentResponse response) {
    try {
    IUserFactory userfactory = UMFactory.getUserFactory();
    IRoleFactory rolefactory = UMFactory.getRoleFactory();
    IRoleSearchFilter rolefltr = rolefactory.getRoleSearchFilter();
    rolefltr.setMaxSearchResultSize(2000);
    ISearchResult result = rolefactory.searchRoles(rolefltr);
    while (result.hasNext()) {
    response.write("<table border=0>n");
    String uniqueid = (String) result.next();
    IRole role = rolefactory.getRole(uniqueid);
    response.write("<tr><td bgcolor=Red>"+ role.getDisplayName()+ "</tr></td>n");
    Iterator users = role.getUserMembers(true);
    while (users.hasNext()) {
    String unique_user = (String) users.next();
    IUser user = userfactory.getUser(unique_user);
    IUserAccount account[] = user.getUserAccounts();
    response.write(
    "<tr><td>" + account[0].getLogonUid() + "</tr></td>n");
    response.write("</table>n");
    response.write("</br>n");
    } catch (Exception e) {
    This code gives you the list of all the users of your portal along with the roles assigned to them.
    Apart from this if you want you want to know all the roles assigned to the user on portal itself then the way you mentioned is the correct method.
    Regards
    Pravesh
    PS: Please consider awarding points.

Maybe you are looking for

  • How to get rid of censorship in iTunes

    Hey People. I'm getting more and more annoyed on iTunes censoring every word that vaguely reminds of a slang for a swearword. I Can live with the censorship in the iTunes-store, but when iTunes censors files I add to the library, it's getting out of

  • System has amnesia about non-admin access to system log

    Time Machine Buddy often doesn't show current backups. So I used the tip from Pondini to give my user account system log access. That worked fine. But it doesn't "stick." I fired up the Console app this morning, and the system log is grayed out. Any

  • Cannot install update 9.0.3 in my Photoshop Elements 9. Getting error msg "Patch cannot be applied".

    Cannot install update 9.0.3 in my Photoshop Elements 9. Getting error msg "Patch cannot be applied". How can I correct?

  • The ALL_VIEWS Table

    i was wondering if there is a way to see the full SQL in the TEXT field that is in the ALL_VIEWS table. when i do a query on the ALL_VIEWS table it only show the start of it. and i woud like to see the whole select statement that makes up the view. o

  • PSE 12 support 64 bit Windows 8?

    Does PSE 12 support 64 bit Windows 8.  Note promo material trumpets support of 64 bit Mac but appears silent on Windows.