Programatically get the user DN in its AD user resource

Hello,
I'd like, inside a pre process handler, from the user key to get the user DN if that user has an AD resource assigned (and provisioned).
any sample code to do that? (I could use OIM API calls or SQL requests)
Thanks in advance!

Hi Johnny,
Thanks for your feedback. Currently the way you are doing is the only way for the back-end to know the identity of a user. 
We are working on policy expressions at the moment, with which you will be able to pass additional information including user identity.
Regards,
Miao @miaojiang
Hi,
The cache solution we putted in place is not enough for us.
Do you have a release date for the user identity expression policy ?
Thanks,
Johnny

Similar Messages

  • Is there any way to get the list of Essbase and planning users  in excel wi

    Is there any way to get the list of Essbase and planning users in excel with last login details.

    Hi,
    This tool might be of some help to you, 'OlapUnderground Advanced Security Manager'. I havent used it personally but went through its features. Give it a try!
    Thanks,
    Junaid

  • Help I have a Macbook 2006 model and I like to play videogames on it, well when I leave it plugged in it gets the best performance, when its not plugged in its decent, so will it hurt my battery if I leave it plugged in at all times?

    Help I have a Macbook 2006 model and I like to play videogames on it, well when I leave it plugged in it gets the best performance, when its not plugged in its decent, so will it hurt my battery if I leave it plugged in at all times?

    No, it will hurt your battery, but it is not recommended by Apple. Additionally, since you have a model with a removable battery, you should calibrate the battery once a month if you leave it plugged in at all times.
    Apple Portables: Calibrating your computer's battery for best ...
    www.apple.com/batteries

  • How to get the intersection of two arraylist containing user defined obj??

    How to get the intersection of two arraylist containing user defined obj??
    I can easily get the intersection of two array list which containing some simple class(Integer, String). But how to get the intersection of two arrayList which contain user defined object?
    Here is the sample code..I can not run this out...anybody can help me? thank you very much..
    The correct result should be like this:
    2
    2
    but I can only get this:
    2
    0
    import java.util.*;
    public class testRetain{
         public static void main(String[] args){
              ArrayList a = new ArrayList();
              ArrayList b = new ArrayList();
              a.add( new dog(1,2,2) );
              a.add( new dog(1,2,1) );
    System.out.println(a.size() );
              b.add( new dog(1,2,2) );
              a.retainAll(b);
    System.out.println(a.size() );
    class dog implements Comparable{     
         int head;
         int arms;
         int legs;
         dog(int head, int arms, int legs){
              this.head = head;
              this.arms = arms;
              this.legs = legs;
         public int compareTo(Object o){
              if ( ((dog)o).head > this.head )
                   return -1;
              else if ( ((dog)o).head < this.head )
                   return 1;
              else
                   return 0;
    }

    @Op. Your classes should override equals and hashCode
    Kaj

  • How can I get the man book pro 13 inch user's guide in spanish

    How can I get the man book pro 13 inch user's guide in spanish

    http://support.apple.com/manuals/#portablecomputers
    Location the manual for your model and click the arrow next to "languages" to see the various options.
    Regards.

  • Can my mac book pro get the newest software? its on 10.6.8? I want 10.8.4?

    can my mac book pro get the newest software? its on 10.6.8? I want 10.8.4?

    Open the Mac App Store and try downloading Mavericks. If you're told the computer's incompatible, no.
    (93333)

  • Getting the ROLES attached to a particular USER thru FM

    Hi all,
      Does any one know any FM where i can i/p the USER NAME and get the corresponding ROLES attached to that USER?
    BR,
    Disha.

    Hi Disha,
    You can use transaction SUIM and select roles -> by user assignment -> input the userID
    All roles attached to the user will be displayed.
    Kind regards,
    Yann

  • I just purchased harry potter and the deathly hallows digital copy but i just synced my ipod and its not there. i went back to get the copy again and its sasy the cose can only be used once. I dont have the movie and now i cant get it at all.

    I just purchased harry potter and the deathly hallows digital copy but i just synced my ipod and its not there. i went back to get the copy again and its says the code can only be used once. I dont have the movie and now i cant get it at all. i paid for it when i bought the movie but now i dont own it at all. i feel cheated, somebody please help!

    Not Charge
    - See:      
    iPod touch: Hardware troubleshooting
    iPhone and iPod touch: Charging the battery
    - Try another cable. Some 5G iPods were shipped with Lightning cable that were either initially defective or failed after short use.
    - Try another charging source
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Make an appointment at the Genius Bar of an Apple store.
      Apple Retail Store - Genius Bar 

  • Can we get the ip addres of an apex user?

    Is there anyway to get the ip address of an apex user?

    user5485835 wrote:
    These seems to work well in APEX.
    select SYS_CONTEXT('USERENV', 'IP_ADDRESS', 15) ipaddr from dual;Based on my understanding, this would only give you the IP address of the actual database user connecting to the database during an Apex session (in other words, the ANONYMOUS user and the IP address of the database server itself if using the Embedded PL/SQL Gateway; or the APEX_PUBLIC_USER and the IP address of the webserver if using Apache).
    To get the remote client's IP address you need to use owa_util.get_cgi_env as described in the first answer to this post.
    - M

  • Where can I get the After Effects CS6 (not CS3) user's guide.

    Where can I get the After Effects CS6 (not CS3) user's guide. I want Adobe's, not a third party.

    Todd,
    Thanks a ton. I've done searches from search engines, and I've looked at this page many times, but I had not seen this link.
    I really apprreciate your help--though you probably think it was a dumb question.
    Gary

  • Which view I can query to get the granted objects privilege to a user?

    Hi all,
    which view I can query to get the granted objects privilege to a user?
    for example:
    grant execute on accounting.get_name to scott;
    Which view has above object granted information?
    Thanks

    SQL> select * FROM all_tab_privs where grantor = upper('accounting');
    no rows selected

  • How to get the values from form calls in user exit?

    Hi all,
    I am not getting a specific value readily in an user exit.
    ?Can any one tell me how to find what are the fields,tables available in various form calls(visible while debugging) in an user exit.
    For example sapxkl is one ofthe callls...(sapxkl)<table>[] will hold some data.how to find what r the values available for <table>.
    Thanks.
    Edited by: sanjay_ask on Apr 16, 2010 10:43 PM

    HI ,
    Use this line of code
      field-symbols: <l_fs> type any.
      data: l_value type char20.
    Get Plant
      l_value =  '(SAPLCEI0)GV_WERKS'. " Here give the program name and variable name
      assign (l_value) to <l_fs>.
      v_werks = <l_fs>.         " Instead of V_werks use you internal table
    Thanks
    Subhankar

  • How to set/get the values thru Wedbynpro coding for User mapping fields

    Hi All
    In system object we have the user mapping fields like District,city,plant,Salesmanager.
    now we want to set/get the values of these usermapping fields of system object thru webdynpro coding...
    if anybody have sample codes of the same then it would be great help to me
    Thanks in advance
    Thanks
    Trisha Rani

    Hi Kavitha
    Thanks for your reply
    My requirement is exactly as follows.
    1) i have created one portal system object in system administration and also i created usermapping fields in the system object from the usermanagement  in system object.
    i created the user mapping fields like Plant,SalesManager,District etc.
    i also created the system alias name for the same system object
    2)  Now i came to persoanlize link and mapped the system object to the portal user.
    while mapping to the system object we need to enter Mapping userId, Password , once we enter these values and we can also enter the values of usermapping fields which we defined while creating the system object ( for example District,Salesmanager,Plant etc)
    once we enter all the values and click on save then these usermapping  values to be mapped to the portal user.
    3) Now my requirement is , i  want to control the usermapping field values thru webdynpro coding for setting/getting the values.
    I need sample code of the same.
    Please let me know if u need more details on the same.
    Thanks
    Trisha Rani

  • How to get the list of communities of a user using EDK

    Hello,
    I am developing a portlet which needs to get the list of communities in which the logged-in user is a member. I am using EDK 5.0.1.
    I can't find a way to retrieve this information using the EDK I am using.... Would you please help?
    Thank you in advance.

    Hey Ramy,
    A bit off the top of my head, but try this:
    IPortletContext PortletContext;
    IRemoteSession PTSession;
    PortletContext = PortletContextFactory.CreatePortletContext(Request, Response);
    PTSession = PortletContext.GetRemotePortalSession();
    privatevoidgetCommunities()
    IObjectManager Manager = PTSession.GetObjectManager(ObjectClass.Community);
    IObjectQuery Query;
    Query = Manager.QueryObjects(-1, 0, -1, ObjectProperty.Name, true);
    for(inti = 0; i <= Query.GetRowCount() - 1; i++) {
    string sCommunityName = Query.GetRow(i).GetName();
    string sCommunityID = Query.GetRow(i).GetID().ToString();
    Cheers!John

  • How to get the name of currently logged in user in the network

    Hi all,
    I want to know if there's a way to get the name of the currently logged in user in the network.
    SYS_CONTEXT('USERENV','OS_USER') won't work for me because our users do not loggin in portal.
    Any ideas?
    Thanks in advance.
    Brett

    Hello, I had the same problem. Here is a smaller version to find the Group of the current User.
    The VI get the members of a Group and match it with the Username.
    Note :
    If the User belongs to multiple Groups the the VI returns only the 1st Groupname
    If the User belongs to no Group then the VI returns "unknown Group"
    The VI is written with LabVIEW 2010 and TestStand 4.2.1
    Attachments:
    current user group.vi ‏20 KB
    TestStand get Group of current User.PNG ‏43 KB

Maybe you are looking for

  • Please enter valid Security Code

    My iTunes account wont let me download any apps or update them either because it says that my security code for my card is wrong. I have reentered everything about the card including the security code and it still keeps saying "Please enter valid sec

  • No RFC destination is maintained for the port 'SAPERP'

    Hi! I am facing with a very strange thing. I am implementing a File_to_IDOC scenario. Therefore I created in XI system the appropriate Ports in tcode IDX1. I use one business system with two clients (SAPERB100 and SAPERB200). I defined there of cours

  • Release Management error "The system cannot find the file specified"

    We are getting the above error when deploying to a set of 4 servers (all belong to a tag).  The deployment succeeds for 3/4 servers.  For the server that fails, there is no tool or command output log to look at.  We are able to log on to the server i

  • SapScript - Box / Position / Writing Text -

    Hello everyone. I have an problem in a SapScript. I made the following code: BOX FRAME 20 TW BOX HEIGHT '2.2' CM FRAME 10 TW BOX HEIGHT '2.7' CM FRAME 10 TW BOX YPOS '2.7' CM WIDTH '5.5' CM HEIGHT '9.5' CM FRAME 10 TW BOX YPOS '2.7' CM WIDTH '7.0' CM

  • Photoshop CC Not Remebering Brush Preset Color

    Hi everyone, im having an issue with CC with my brush presets not remembering the color.  I've created 4 brush presets (see pics for settings) of which i checked on the "Include Color" to include the default black & white for every brush preset. asid