E-mail portlet - using OID user info

I am looking to write or re-use a portlet for sending e-mails.
I want the e-mail 'From' to be automatically populated by the Portal
user's definition in OID.
Is this information available through the Portal APIs ? The plsql API
wwsec_api.person_info looks in the Portal user table, which is no longer
populated as we use OID (right?).
Thanks

We have an implementation of Smtp Portlet, part of our Integration Portlets, it works just the way you want.
It also allows users to use OID Server as an AddressBook from where the user can pick and choose the
recipients.
You can get access to this on Portal Center (http://portalstudio.oracle.com).
You need to download the latest PDK.zip (January) from here.
http://portalstudio.oracle.com/servlet/page?_pageid=350&_dad=ops&_schema=OPSTUDIO&12678_PDKHOME902_39847486.p_subid=288769&12678_PDKHOME902_39847486.p_sub_siteid=73&12678_PDKHOME902_39847486.p_edit=0
Note: You need to Sign In with your OTN account.

Similar Messages

  • Connecting Sysbase database from OID user

    Does OID allow to connect to sybase or any other relational database using OID user/ Enterprise User?. I will appreciate if someone can point me to the right link or provide me some step by step procedure.
    I have setup the heterogenous connectivity and I can connect to Sybase database using database link etc.
    Thanks
    Suhail

    can u please let me know the steps of how to connect the heterogeneous connectivity

  • Mail Icon from STart menu has wrong user info

    we set up the new 400 pavilion slimline pc, and see an incorrect user name in the start menu.  first question is how to change that.  next, when we click on the Mail icon, a different user name appears (what appears is username and password request info that was sent from my work pc to this home pc as a means of testing and practise for the homeowner to access mail)  it's like the home pc took over my work username info and installed it in the Mail icon set up!
    in sum, how can we change what first appears as an incorrect user name, and set up the correct user name on the Mail icon prompt.     the home owner can access and get mail, so that works fine but we added the comcast account link into 'favorites' folder as a means to connect into her mail.  we naturally want to make this easier by just selecting the Mail icon off the Start menu.  thanks! tc17

    Hello tc17,
    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I understand you are looking for chagne the profile username as well as the mail username on your HP 400 Pavilion Slimline computer. I would be happy to assist you, but first I would encourage you to post which operating system you are using. And whether your operating system is 32-bit or 64-bit as with this I can provide you with accurate information.
    Which Windows operating system am I running?
    Is the Windows Version on My Computer 32-bit or 64-bit?
    Please re-post with the requested information and I would be happy to provide you with assistance. Thank you for posting on the HP Forums. Have a great day!
    Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
    Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
    Dunidar
    I work on behalf of HP
    Find out a bit more about me by checking out my profile!
    "Customers don’t expect you to be perfect. They do expect you to fix things when they go wrong." ~ Donald Porter

  • Creating a new webpage using PhP based on user info

    Hey all! I'm going to try and explain this the best I can, I dont think it's too complicated but we'll see
    On my website, what I want to have happen is when a user registers (First name, last name. username, password, email) and hits the "register!" buttton, a new webpage is created that has all of the users info displayed (well, almost everything )
    example is someone browses to my website at www.slaughtergaming.com , goes to my register page, and creates an account with the name 'nyius'. a webpage is then created using the users username (so something like www.slaughtergaming.com/nyius) in which anyone can visit and see all of my info (username, first and lastname, email, etc)
    I hope that pretty much sums it up.. if you need some code from my website ill be glad to poste it

    Yes that could work i suppose ^^
    how would I check to see which user is viewing the page, then load all of the relavent users info?
    Right now when the user logs in, their username and password is saved in the session, so I assume i just need some script that checks who is logged in and then load their info respectively?

  • How to get mail, firstname, lastname of user in OID by java?

    Hi all,
    I'm trying to get mail, firstname, lastname of user in OID, but I don't know how to work
    Please help me!!!
    Thanks!!!
    PS:I can get the userId by this code
    try
    InitialDirContext ctx = ConnectionUtil.getDefaultDirCtx(server,
    server_port,
    "cn=orcladmin",
    password );
    try
    Subscriber sub = new Subscriber(ctx,Util.IDTYPE_DN, cn,false);
    String[] arr=null;
    User[] user =sub.getUsers(ctx, Util.IDTYPE_SIMPLE, "*",null,arr);
    String[] users = new String[user.length];
    String dm ="cn=";
    for(int i=0;i<user.length;i++)
    users[i] = user.getDN(ctx).substring(0,user[i].getDN(ctx).indexOf(","));
    users[i] = users[i].substring(dm.length(),users[i].length());
    return users;
    //System.out.println("ok");
    catch(UtilException ue)
    System.out.println("error");
    return null;
    } // User myuser = null;
    catch(NamingException ne)
    // javax.naming.NamingException is thrown when an error occurs
    System.out.println(ne);
    return null;

    You are almost there.
    String[] arr=null;
    User[] user =sub.getUsers(ctx, Util.IDTYPE_SIMPLE, "*",null,arr);
    The String Array arr here needs to be an array of attributes that you wish the system to return with the search.
    Then from your User object you can get a collection of those attributes, here is a function that loads them into a HashMap
    private HashMap loadAttributes(User ldapUser, String[] attributes) {
    HashMap resultMap = new HashMap(attributes.length);
    PropertySetCollection psc;
    try {
    psc = ldapUser.getProperties(ctx, attributes, true);
    if (psc.isEmpty()) {
    return null;
    PropertySet userVals = psc.getPropertySet(0);
    for (int i = 0; i < userVals.size(); i++) {
    Property thisProperty = userVals.getProperty(i);
    if (thisProperty.size() > 1) {
    StringBuffer workBuf = new StringBuffer();
    for (int j = 0; j < thisProperty.size(); j++) {
    workBuf = workBuf.append((String) thisProperty.getValue(j)).append(",");
    resultMap.put(thisProperty.getName(), workBuf.toString());
    } else {
    resultMap.put(thisProperty.getName(), (String) thisProperty.getValue(0));
    } catch (UtilException e) {
    return null;
    return resultMap;
    }

  • Time machine only copies User Info and Users (Applications, Library, and System are missing) from my quad core Mac Pro.  45 Gb of 162 Gb are missing.  Any one having success with time machine copying all folders using Mavericks?   What do I need to do dif

    Time machine only copies User Info and Users (Applications, Library, and System are missing) from my quad core Mac Pro.  45 Gb of 162 Gb are missing.  Any one having success with time machine copying all folders using Mavericks?
    What do I need to do differently?

    The late, great Pondini was investigating that issue before he passed away.
    See here: https://discussions.apple.com/thread/5125969
    I think there might be information there on how to reset Time Machine to do a full backup. I think you basically have to reset it and start over.

  • Use the User name than e-mail (SMTP) in broadcasting

    Hi all.
    I try to send some report using the broadcasting. It`s work fine, but I want use the User name and not e-mail address to do this. In BW SU01 I create e-mail address to user but its not work.
    How can I mapping this.
    Thx!
    Edited by: BW Team on Nov 27, 2008 10:14 AM

    why do get this message when i try to send e mail on my 4s
    Just what it says...you're not using the correct username and password for your outgoing mail server.

  • Creating an OID user using Java

    Does anyone have a working example of how to create an OID User using Java? I know how to create a user OBJECT but have yet to find any documentation on how to actually create a NEW OID USER.
    Thanks!
    Teri Kemple
    TUSC

    Teri have you found any answer to this question of yours?
    I am looking for the same thing.

  • Deleted e-mail account used for Icloud--now I cannot change my info without having that e-mail but it's gone! What do I do?

    Deleted e-mail account used for Icloud--now I cannot change my info without having that e-mail but it's gone! What do I do?

    Please answer me .
    Now I created iCloud Mail Alias on iCloud which name [email protected] Then I want to switch iCloud Mail Alias to be iCloud IMAP.
    My problem is I don't want that old mail which my boyfriend used to created - [email protected] and [email protected] - .
    How can I do?
    Please.

  • Call all user info using wwsec_api.person_info

    I want to call all user info using wwsec_api.person_info and then place this info into a new table. I can call the current users info and print it out with this code. But how do I call the info for all users and either send them to some kind of array or put them directly into a table.
    <ORACLE>declare
    l_userinfo PORTAL.wwsec_person%rowtype;
    begin
    l_userinfo := ORASSO.wwsec_api.person_info(p_user_name=>PORTAL.wwctx_api.get_user);
    htp.p(l_userinfo.first_name);
    htp.p(l_userinfo.last_name);
    htp.p(l_userinfo.email);
    htp.p(l_userinfo.work_phone);
    htp.p(l_userinfo.office_addr1);
    htp.p(l_userinfo.office_city);
    htp.p(l_userinfo.office_state);
    htp.p(l_userinfo.office_zip);
    end;
    </ORACLE>

    you can find all info related to users in orasso.WWSEC_PERSON$
    hope this helps.
    Vikas

  • ASP application authenticating users using OID

    Hi, I'm a newbie using ASP, but I need to modify an existing application to use LDAP authentication, using OID as it's directory server.
    I thought that if I get an LDAP ASP library that can be used against any LDAP server (non propietary), my problem is solved.
    My questions are :
    1) Does this library exist ? Where can I find it ?
    2) Has anyone any experience in this matter ? Is there another way to get around this problem ?
    Thanks for any clue that you can give me,
    Sebastian.

    This is an example where your Active Directory allows simple binds:
    FUNCTION authenticate_aduser (p_username IN VARCHAR2, p_password IN VARCHAR2)
       RETURN BOOLEAN
    IS
       v_user          VARCHAR2 (256);
       v_ldap_server   VARCHAR2 (256)    := '10.128.1.81';
       --h80081.isd_it.company_ag.local
       v_domain        VARCHAR2 (256)    := 'isd_it.company_ag.local';
       v_ldap_port     NUMBER            := 389;
       v_retval        PLS_INTEGER;
       v_session       DBMS_LDAP.SESSION;
       v_cnt           NUMBER;
    BEGIN
       IF p_password IS NOT NULL
       THEN
          v_user := p_username || '@' || v_domain;
          v_session := DBMS_LDAP.init (v_ldap_server, v_ldap_port);
          -- start session
          v_retval := DBMS_LDAP.simple_bind_s (v_session, v_user, p_password);
          -- auth as user
          v_retval := DBMS_LDAP.unbind_s (v_session);                   -- unbind
          RETURN TRUE;
       ELSE
          RETURN FALSE;
       END IF;
    EXCEPTION
       WHEN OTHERS
       THEN
          v_retval := DBMS_LDAP.unbind_s (v_session);
          RETURN FALSE;
    END authenticate_aduser;You need to replace the IP with the IP of your AD Server.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • User exit to change vendor e-mail address used for PO output via e-mail...

    We have two vendor e-mail addresses for a particular vendor. Ignoring output determination, it looks like I will need to control which of the two e-mail vendor addresses is used when the PO is output via e-mail.
    The default is the first one e-mail address, but for PO's I would like to force the second vendor e-mail address.
    There are tonnes of exits available for PO output by the looks of it so I am trying to discover which is relevant for what I am trying to achieve.
    Jas
    Edited by: Jason Stratham on Apr 30, 2009 5:53 PM

    Thanks Martin,
    I guess that's the same path that I took earlier when using SPRO and looking at the Purchasing->Messages. In my case it's ZMEDRUCK, but that does not help me in regards to controlling the vendors e-mail address being used. When sending the PO as an e-mail it uses (by default) the first e-mail address of the Vendor, whereas the vendor could have multiple ones. In my test case my vendor has two addresses but it always defaults to using the first. I know that I need to modify this behaviour somehow, but how I have no idea as I can find no Exit routine.
    Jas

  • What's the best way to wipe user info on OSX without doing a clean install of the OS

    Hello,
    I am going to give my old imac to my nephew so I want to delete myself as an Administrator and user (ie, remove all traces of my personal info).  However I DO NOT want to delete all the installed applications I have installed over the years as they are useful to him.
    Should I just set up a new admin and delete mine or are there other things I can/should do to 'clean out' myself from the system?  (preferences, etc.)
    Thank you!

    chungster wrote:
    Will deleting my admin account delete all my saved passwords in the keychain? 
    Yes
    How about my old emails?  In addition to Mail, I used to use Thunderbird.  Are there any special places that I need to delete files from for those apps?
    Yes old emails are gone. No special places for Thunderbird, emails are kept in the User account folder.
    And finally, if he wants to keep my itunes music, can i just drag my itunes folder into his account prior to deleting my account?
    This is a copyright violation in most cases unless the music is free of that or the license allows it.
    You should deauthorize the iTunes account in the User accounts being deleted, copy protected iTMS content won't play on his account. iTMS music is not copy protected but there is a 5 machine/device limit.
    You can transfer music and other files to his account through the Finder > Computer > Macintosh HD > Users > His account > Public > Dropbox that will change the user permissions on the files.
    Any iTMS purchased content is digitally signed with your personal information embedded into the files themselves.
    If your nephew goes and P2P's your files, you could be held liable for copyright infringement.
    If the music files are cd rips, then there is a good chance they are not digitally signed, however Apple might have done something to the files in the background to assist the RIAA against piracy.
    There is a 5 device limit to iTMS content, so technically since he's family you can control that and it's included in the iTMS content license, but that doesn't apply to cd rips.
    He might not like your music anyway and then seek to share it to get more he does like. So it depends upon the skill level of your nephew if he will do that or not.
    Set up his account on the machine, maintain dual accounts until it's all set up, then log into his and delete your account.
    Copy protected apps with one machine licenses that "phone home" you will have to either delete or buy another license for the new machine if it's a Mac.

  • How to send Email Notifications to OID users?

    Hi All,
    I have a requirement where I need to send an email notification from the BPEL process. The Email notification has to be sent to a used who invoked the process the userName is provided in the initiation parameters. But I need to fetch the email id for the give userName from the OID which is integrated with the BPEL Process Manager.
    Is there any way I can fetch the email addresses from the OID in BPEL ?
    Thank you.

    Hi Folks, Finally I found the answer... If the APP server is integrated with the OID(Identity Management is set to Oracle Internet Directory and configured properly) the function ora:getUserProperty(bpws:getVariableData('myUser'),'mail') should return the mail property of the user object in OID.
    If your Identity Management is set to the File-Based system then it will get the user properties from the $ORACLE_HOME/bpel/system/services/config/user_properties.xml.

  • How to use differing 'My Info' on iPhone/iPad

    Hi everyone,
    I am using an iPhone and my wife an iPad. Both devices are set up using the same Apple ID in order to easily share App Store purchases and for iCloud as well. In Settings.app under Mail, Contacts, Calendars you can tell the device who you are by selecting your contact info under My Info. So I did select mine on the iPhone and my wife’s contact on the iPad. So far so good. But sometimes, and I haven’t quite found out how and why, this Info automatically changes!
    It is always the last edited setting which propagates to the other device. So for example, if I set my info on the iPhone and afterwards my wife’s on the iPad I well end up with her info on my iPhone as well. It happens the other way around, too. I haven’t yet figured out how this happens. So it could be over the air or while syncing via USB which I sometimes do for faster device backups. It could also happen when using a specific app or service.
    Maybe someone can shed some light on this? I’m sure that I could just use separate Apple IDs on both devices, but I’d rather not. Everything works and is easier to handle. Even FaceTime and iMessage support different Caller IDs when using the same Apple ID. So it’s only this little thing that’s left…
    Thanks and hoping for a solution
    Björn

    Easy, no need to be harsh. I might not be a Level 9  Discussions user, but I’ve been an Apple Technician for more than a decade now. So believe me, I know what I’m talking about. Be it OS X Server or emptying the Trash. But even I come here from time to time to learn from others. Well, back to topic and being a little more specific:
    The 'My Info' setting always belongs to the first iCloud account you add to an iOS device. In this account you create at least 1 contact, the one you will be using for 'My Info'. You then do the same on your other iOS device using NOT the same iCloud account, of course. You only need to enable contacts syncing in iCloud preferences for these primary accounts. From here on you can use differing 'My Info' on your 2 iOS devices without a problem.
    But you may know that you can use more than one iCloud account at a time. Only the primary one will offer all iCloud options like Photostream. But what they all offer is contacts, calendars, etc. So if you intend (and I did) to share these 2 between your devices you can add them using a second iCloud account to both of your iOS devices. This makes it 3 accounts all in all. You could even go further and add another one just for 'Find my iPhone' if you like.
    I would’ve used the built-in sharing of Calendar.app instead, but Contacts.app does not (yet) offer sharing contacts with others. That’s why I went with the third iCloud account as a secondary account to both iOS devices.
    Apple of course recommends using just one Apple ID for everything to make it easier. But in some scenarios this just won’t cut it, which is even described in one of their support documents.
    I hope that now you have an idea what I’ve done…
    Good night
    Björn
    PS: It would be nice if people did not insist on being right. They too can sometimes learn something!

Maybe you are looking for

  • Using the MAIL command of UNIX through JAVA

    Can any one give me a lead or example on how to call the MAIL command of UNIX to send mails using JAVA.

  • Add Tracks Button - problem

    This one is driving me crazy. I have over a hundred virtual instrument tracks in my session which I started in Logic 7. Now Once Logic runs out of objects in the environment which I have already created, it insists on adding new rewire objects instea

  • Query slow using SDO_GEOM package

    Hi, i've a query that extract this data from a table: SDO_GEOM.sdo_centroid (geometry, 0.5).sdo_point.x It's very, but very slow, about 15sec for 300 records. Remove this package from select it's very fast. Any ideas to how tuning spacial package?? T

  • Telling which class called your method

    Does anybody know a way you can tell which class is calling your method? I mean: class A { public static void main(String args[]) { new A.doIt(); void doIt() { B b = new B(); b.callMe(); class B { public void callMe() { String whoDidIt; whoDidIt=[stu

  • Flasing amber

    I cannot connect to internet[with mac or windows] with the airport connected thru the alcatel modem. If i run the modem connection directly to windows computer everything works fine on windows computer I tried shuting off alcatel modem and restarting