Username from userid

Hi,
How can we get Username from userid...
Foe eg: userid : xyz01
            username : Dhananjay Patil.
Pls help.

Hi Dhananjay,
Use <b>BAPI_USER_GET_DETAIL</b> function module to get the user name for an user id.
Give your user id to this function module and you will get your name and details in ADDRESS parameter.
Thanks,
Vinay

Similar Messages

  • Error in getting Username from UserPrincipal in WSRP Producer

    Hi,
    In WSRP Producer,we are trying to get the the username from the UserPrincipal which was sent by the consumer.
    String userID = this.getRequest().getUserPrincipal().getName();
    I'm getting an Null pointer exception in one of the Producer but the same kind of code is working in other producer.
    The two producers are in different domains. And the Consumer is same for the both Producers.
    Could anybody help me to find out what went wrong. ?
    Thanks,
    Mohan

    Hello,
    It is likely that your two producers are configured differently for security (SAML). For the producer that isn't working, it is likely that you just need the proper entries in your key store to get it to work. Look at the key store for the producer that is working, and try to ensure the other producer is similarly configured.
    Kevin

  • How can I move a game center username from one Apple ID to another?

    I've tried to do this but it doesn't seem possible. For instance, trying to choose the username from another Apple ID you own correctly tells you that it's already in use. However, logging in with the Apple ID that has the username you want and trying to change the Apple ID tells me that the Apple ID I want to move the username to already has a username even though it doesn't because I'm at the stage of choosing a username in that other account. In this case I get the error message: "This change is not allowed because that Apple ID is already in use. You can try again using a different name or leave your Apple ID unchanged."
    I read about one potential solution to this and that is changing the username you want in the Apple ID you no longer want associated with Game Centre, thereby releasing it and then quickly try to grab it again in the Apple ID you do want it on. I'm a bit nervous about trying this though because I do like the username enough that I'd rather stay with the existing Apple ID than risk losing it.
    Has anyone tried doing this and had success? Maybe Apple blocks you from using a username for a period of time after it's been associated with an account, so I'm not sure I want to do this.
    I wish Apple would just let us consolidate Apple ID/accounts and give us more control over our accounts (including the ability to close old/redundant Apple IDs)! It's a cause of endless frustration for so many people!!!

    slenpree wrote:
    I would really really like to move it form the first apple ID to my iCloud one so I just sign into one appleID for everything.
    Many Thanks,
    Jonny
    You need more help then anyone here can give, as far as I know. Good luck.

  • Getting the username from a portlet

    Hi,
    I have a new installation of Portal 10.1.4 and I'm trying to write a portlet that has access to the username from within a JSP. I am trying renderRequest.getRemoteUser() and renderRequest.getUserPrincipal().getName() and both return the username with brackets and a number inside, for example "MCOARR[1]". What I really want is the uid from LDAP.
    Looking in the directory server my user is mcoarr (or more specifically, both the uid and cn attributes are set to "mcoarr").
    How do I get just the username?
    Thanks,
    Matt

    Yeah, I had to do that too (the text munging stuff). Unfortunately, Oracle Portal doesn't seem to be following the WSRP spec on getting user attributes. There is a whole section in the spec about how to map user attributes in your portlet.xml and then get them in a portlet by doing stuff like:
    Map userInfo = (Map) request.getAttribute(PortletRequest.USER_INFO);
    String givenName = (userInfo!=null) ? (String) userInfo.get(“user.name.given”) : “”;
    String lastName = (userInfo!=null) ? (String) userInfo.get(“user.name.family”) : “”;
    This is how it works in uPortal, Liferay and other portals we tried. I don't know why Oracle portal has been through two revs of WSRP support and hasn't got this right yet.
    -Mike

  • IS it possible to obtain the username from a authentication  dialog box?

    Kind of simple question and I'm looking for a simple answer. Is it possible to obtain the username from the dialob box during java web start or not?

    I'm not really sure what you are asking but if you look at the Javadoc of System.getProperties() you will find a property named 'user.name' .

  • How to get the current logged in username from windows and put it into an AS var

    Hello,
    I was hopeing someone would know how to get the current logged in username from windows and put it into a var, so I can create a dynamic text box to display it.
    Thanks in advance
    Michael

    Just for everyone’s info, this is the script I have used to get the logged in windows username into flash ---- not and air app.
    In the html page that publishes with the .swf file under the <head> section:-
    <script language="JavaScript" type="text/javascript">
    function findUserName() {
         var wshell=new ActiveXObject ("wscript.shell");
         var username=wshell.ExpandEnvironmentStrings("%username%");
         return username;
    </script>
    The ActionScript:-
    import flash.external.ExternalInterface;
    var username:String = ExternalInterface.call ("findUserName");
    trace (username); // a quick test to see it in output

  • How to pass Username from OWSM Security policy in Oracle Apps Adapter .jca file

    My BPEL process uses Oracle Applications Adapter. The following is the .jca file for the Adapter.  The Username is initialized statically to "sysadmin" when I created the Adapter.Is it possible to pass in the username from the OWSM Security policy for the username value below? If so how to do? I appreciate your response.
    <adapter-config name="EBSAdapter" adapter="Apps" wsdlLocation="../WSDLs/EBSAdapter.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
      <connection-factory UIConnectionName="EBS1" location="eis/Apps/EBS1" UIConcurrentPgmName="" UIOracleAppType="DBOBJECT"/>
      <endpoint-interaction portType="EBSAdapter_ptt" operation="EBSAdapter">
        <interaction-spec className="oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec">
          <property name="SchemaName" value="APPS"/>
          <property name="PackageName" value="INTG"/>
          <property name="ProcedureName" value="GET_USER_PROFILE1"/>
          <property name="IRepInternalName" value="PLSQL:INTG:WEBCENTER_GET_USER_PROFILE1"/>
          <property name="Username" value="sysadmin"/>
          <property name="Responsibility" value="System Administrator"/>
        </interaction-spec>
      </endpoint-interaction>
    </adapter-config>

    1. Go to Invoke activity
    2. Click on Properties tab.
    3. click Add
    4. Add this property "jca.apps.Username" and map it with either variable or expression.
    5. Populate variable defined at previous step with some valid username value at runtime.
    hope this helps.
    Regards,
    Karan
    Oracle Fusion Middleware Blog

  • Developing a 2 page form, username on the 1st page, password on 2nd how can i force FF to use the username from previous page when it asks to remember acct info?

    I am developing a 2 page signup form, where the person enters their username on the 1st page and password on the 2nd.
    When I test the form, FF asks to remember my password for the site - however it thinks the zipcode (field above the password) is the username on the account.
    I have tried to put their username/email in a hidden field on the 2nd page, just above the password field - and that did not work.
    How can i force FF to use the username from previous page when it asks to remember acct info?

    This website is using autocomplete=off to prevent Firefox from saving and filling the name and password.
    You can remove autocomplete=off with a bookmarklet to make Firefox save names and passwords and other form data.
    *http://kb.mozillazine.org/User_name_and_password_not_remembered

  • How to select username from v$logmnr_contents in oracle 10g

    Hi,
    Can anyone to provide solution for the below mentioned problem.
    I use
    select sql_redo,cscn,USERNAME from v$logmnr_contents where sql_redo is not null and operation_code in(1,2,3,7) and seg_type in(0,2) and (seg_owner is null or seg_owner not in('SYS','SYSMAN'));
    to select sql_redo,cscn and username from v$logmnr_contents.
    I got the sql_redo and cscn properly but username is listed sometimes blank. I need to select the username from v$logmnr to understand which user executes the sql. Please give me a solution immediately because now i am stucked with this problem.
    Thanks in advance

    Hi,
    Please use session_info in your query
    Also set this field in where clause to not be as 'UNKNOWN'.
    Regards
    Mona
    Edited by: mona mirbakhsh on Feb 27, 2010 5:23 AM

  • I want to change my username from mfarooqq923 to mfarooq923

    I want to change my username from mfarooqq923 to mfarooq923

    hi Farooq, please send a PM to our community manager to facilitate that change: https://support.mozilla.org/en-US/user/madasan

  • How to get username from customer email id.

    Hi experts,
    How to get username from customer email id.I am using transaction XD02.
    I would be thankful for your kind replies .
    Regards,
    Sachin Hada

    Hi sachin,
    Re: Email id field
    Regards,
    Sravanthi

  • Get Currently Logged in UserName From Specified IP Addr

    Hai,
    How to obtain the currently logged in username from a given IP address. Some one have ever tried this... if so reply me.
    Thanx

    Windows NT Login (UserName & Password)

  • Security - Hackers Getting Usernames from Open Directory

    Hello,
    My logs indicate that someone from an outside IP has been trying to log-in to our MacOS X Server using AFP and SMB protocols. It appears they already know what usernames to try but they do not know the passwords. They even know about "test" accounts that were created, used temporarily and then set to "disabled" using Workgroup Manager.
    My question is: How did they learn which usernames? The server was just setup yesterday and the 10 users were added less than 24hrs ago.
    There was a period of a couple hours tonight where the built-in MacOS X Server firewall was stopped because other network routing parameters were being configured. Is there a way that someone can request a list of all usernames from the Open Directory without having to authenticate to it first?
    Port 625 is 'Remote Directory Access' - Could someone connect to that port and ask for a list of all users?
    Any theories would be appreciated. Firewall has since been re-enabled and the logs have gone mute again.

    If you're using an Open Directory master, the directory is a public resource. The LDAP port is 389. If you do not need outside access, you can block that port. That said, usernames are generally not considered a security feature. Users need to have strong passwords. I recommend using the policy settings to require users to pick passwords that will not be in hacker dictionaries. Go to Server Admin -> Open Directory -> Settings -> Policy. A reasonable first bid for security is to choose, "differ from account name," the following two for require a letter and a number, and passwords should contain at least 6 characters.

  • Error when trying to retrieve UserName from MySAPSSO2 cookie

    Hi,
    I tried to retrieve the UserName from MySAPSSO2 cookie using the dotnet toolkit, but I keep getting the error "User Not Aunthenticated". I have placed the verify.pse files in a folder called psefiles in the same location as the bin folder of my application.
    I then also tried to directly use Convert.FromBase64String() to read the username from the cookie, but during conversion I get the error "Invalid character in a Base- 64 string"
    Any help is highly appreciated.
    Thanks,
    Kantishree D.

    From the menu bar, select
     ▹ System Preferences ▹ Energy Saver ▹ Power Adapter
    and uncheck the box labeled Put the hard disk(s) to sleep when possible, if it's checked.
    If the drive has more than one interface (USB, FireWire, Thunderbolt, eSATA), try one of the other interfaces.
    Check that the data cable is securely inserted at both ends.
    Try a different cable.
    If you're connecting the drive through a hub, connect it directly to a built-in port on the Mac.
    If you're connecting it directly, try a different port.
    Disconnect all other devices on the bus, or as many as possible.
    Test the drive with another Mac. Test another drive with this Mac.
    If the drive is bus-powered, but has an AC adapter, connect the adapter.
    Start up in Safe Mode and test.
    If the drive doesn't work under any of the above conditions, and if another drive does work with the same Mac, then the drive has failed. You may be able to salvage the mechanism by removing it from the enclosure and installing it in another one, or in a drive dock.

  • Getting username from an applet

    I'm writing a program (an applet) that needs to get the username from a windows 2000 platform. Is that possible? I guess I need to set a security policy-file... Can someone leed me on the right way?

    It would be possible in an application to just do this:
    String userName = System.getProperty("user.name");But for security reasons it can't be done like this in an applet.
    Some info about signing applets from here:
    http://forum.java.sun.com/thread.jsp?forum=63&thread=152882
    And if that doesn't help, you can search for some more resources at the forums and java.sun.com

Maybe you are looking for

  • Preview does not sum column data in PDF forms

    Preview is way better than Acrobat for most purposes, but it has some basic limitations that just make it hard to use. for example I have to use this form that asks you to enter $ in a table, however Preview does not sum the column, it just puts a "0

  • Clobbered Web Server in Standalone OC4J

    Hi, I've been mucking around in the j2ee\home\config directory to deploy my applications and after a few days of success, I began to notice error messages from the web service on startup and then it stopped starting at all. I noticed the applications

  • Thumb Wheel not working...

    well... i leave my ipod in my glove box of my car so it's out of the way and hooked up to my headunit of my stereo. since it's been in there... when i take it out to put new songs on it, i can't scroll through the songs to look, only hook it up and l

  • Gate pass before Goods Receipt

    Dear All, Our client wanted to have the Gate Pass system so that after gate pass entry only, the MIGO can be done. The Stock goods going outside also should be traced. How to map this scenario? Regards Edited by: Venkateshwaran Balaji Kannan on Aug 2

  • PDF download on website limited to app users

    Dear All, We are creating an iPhone tour app in Dreamweaver CS6 and want to post additional material on our website in PDF format that can be downloaded by people who purchase our iPhone app.  Is there any way to limit a PDF download on a Dreamweaver