Read user id

How can we read the user id of the person running the BEx report? I want to use that in a variable user exit.

Anita
If someone is using BEX and you go to SMGW->GoTo->Logged on Clients
You can see "EXCEL" in the field TP Name.
Not sure whether this information will help you or not.

Similar Messages

  • Reading User Profile Properties pragmatically in SharePoint 2010 Returns Null Values Although it has values returned from AD

    Reading User Profile Properties pragmatically in SharePoint 2010 Returns Null Values Although it has values returned from AD
    I configured the user profile service application and run Sync and user profiles and its properties returned from Active directory but when I want to read it pragmatically it returns null values.
    this is my code...
       void runQueryButton_Click(object sender, EventArgs e)
               // Get the My Sites site collection, ensuring proper disposal
                using (SPSite mySitesCollection = new SPSite("http://sp/my"))
                    //Get the user profile manager
                    SPServiceContext context = SPServiceContext.GetContext(mySitesCollection);
                    UserProfileManager profileManager = new UserProfileManager(context);
                    UserProfile profile = profileManager.GetUserProfile("Contoso\\user");
                    foreach (Property prop in profileManager.Properties)
                       // if (prop.Name == "Department")
                        resultsLabel.Text += prop.DisplayName + ":" + profile[prop.Name].Value + "<br />"; ;

     Hi,
    Please try with the following code
          PrincipalContext principalContext = new PrincipalContext(ContextType.Domain);
                                SPServiceContext context = SPServiceContext.GetContext(site);
                                UserProfileManager profileManager = new UserProfileManager(context);                        
      foreach (Property prop in profileManager.Properties)
                       // if (prop.Name == "Department")
                        resultsLabel.Text += prop.DisplayName
    + ":" + profile[prop.Name].Value + "<br />"; ;
    Thanks,
    Vivek
    Please vote or mark your question answered, if my reply helps you

  • How to create a pdf form allowing Reader user to insert picture - NOT from their local hard drive - but from photos I want them to choose from?

    Is there a way to create a PDF form where a Reader user can insert an image - that's NOT on their local hard drive?
    I have 4 photos available - the users of my form will choose one of them and insert it in the pdf form. The users will NOT have the photos saved on their local hard drives so ideally, they will see thumbnails or a preview of the available photos and then select and insert the photo they want to use.
    Is this possible? If so, how do I go about this? Right now, all I can find are ways to insert a photo located on the users local hard drive.
    Hopefully someone can answer my question.

    George, I'm not sure where the photos would go or how to include them. I'm a complete newbie when it comes to making pdf forms so i'm not sure if it's even possible.
    I'm planning to make a flier. I want the end user to be able to choose the photo displayed on the flier - the photos would be ones that I choose and supply. I know I could just make four different fliers, but I thought it would be more efficient if I had one flier and gave the Reader user the ability to select the photo they like.
    Does this sound possible to you?

  • How to set a form field in pro so an 'adobe reader' user can insert a jpg (not a pdf) as an image. It used to work but now doesn't.

    I think this question has been asked a million times before but I'm hoping something has been resolved now! It did work for me and my client a few months ago (by using the 'event.target.buttonImportIcon();' script. I'm 99% certain it worked fine a few months ago, where the adobe reader user could select a jpg to insert...but now it only allows a pdf. Does anyone know if anything can be done? I know you may say LiveCycle but is there really nothing else?
    Thanks in advance.

    There's nothing to solve. If Reader (XI only) is used only PDF files can be selected. This is how it's supposed to work (although I agree it's silly and should be changed).

  • Error while reading users in CMC BO 4.1 SP05

    Hello All,
    Does anybody knows the solution? We recently updated from BO 4.0 SP06 to BO 4.1 SP05, Windows Server
    I get this error when i try to read users in CMC
    [repo_proxy 13] SessionFacade :: open session logon with user info has failed (CSecSAPR3Binding :: :: XRFCCnxBroker BorrowConnection () failed. For more information, see the following log entries.
    Error when logging on to the SAP system. The following RFC error was reported: [group key message]: [4, "RFC_COMMUNICATION_FAILURE", "
    LOCATION CPIC (TCP / IP) on local host with Unicode
    ERROR max no of 100 conversations exceeded
    TIME Wed April 22 2015 10:33:20
    RELEASE 720
    COMPONENT CPIC (TCP / IP) with Unicode
    VERSION 3
    RC 466
    MODULE r3cpic.c
    LINE 14419
    COUNTER 1
    . "] The entitlement system was disabled in memory Possible reasons:. The SAP system is not available or if the credentials are invalid The authorization system must be activated again, so that it is available again..
    (hr = 0x80042909 #)
    KR,
    Manna

    Hi Manna,
    When trying to read users from CMC, there are several authentication type users which are displayed such as Enterprise, AD,LDAP, SAP.
    From the error, I believe you have some SAP users which are not promoted properly in Business Objects.. May be some issues with the entitlement system configured for SAP Users.
    Login into CMC >> Authentication >> SAP and verify if the entitlement systems are enabled and check if you are getting any error at the Role Import Tab
    -Ambarish-

  • Read user in Vendor Authorisation Report

    Hi All ,
    Could you please tell me is there any Function Module to read User which does not exit , actually there is a requirement in the report of Valid user before it is going to select user Bname from USR02 Table , the user data is there in table usr02 but when i check the user in su01 Transaction the message says the user does not exit ,
    actually in my Vendor Authorization(Basis Report) these users are also coming which does not exit , so i  want to that the users which does not exist should not come up in the report , so could you please tell what check or FM should i put to stop these users display , sorry i am not having too much experience ,
    it is very urgent  any help will be appreciated ,
    thanks ,
    Jaitely

    Hi Arun
    Why dont you try the following FM
    SUSR_USER_DISPLAY_WITH_AUTHS
    you could also go to SE80 and under package give SUSR
    This would give you a variety of Function Modules related to users
    Note Award Points for Helpful answers

  • Adobe Reader users are occasionaly presented with Standard when published via Citrix XenApp 5.0

    We are publishing Adobe Standard to 4 users over 6 servers and have both Acrobat Standard and Reader installed on each Citrix server.  During installation of Standard, Reader was selected as the default application.
    Regardless of this configuration, infrequently the Citrix servers will present Acrobat Standard to users that are not listed as users of the application.  So far, we have not noticed any patterns of behavior and have noted the following:
    Although, all servers (1-6) have incorrectly presented Reader users with the Standard application at least once, only a few of the servers (1, 4, & 5) frequently violate the configuration settings;
    Reader users and Standard users can coexist on the Citrix server and be presented the appropriate application (i.e. 5 reader users can be presented Reader and 5 Standard users can be presented Standard at the same time).
    Citrix servers can present Acrobat Standard to Reader users even if there are no users of Standard accessing the server.
    Users are starting to experience two types of failures:a. Acrobat fatally crashes with the following event:
    Faulting application Acrobat.exe, version 9.2.0.124, time stamp 0x4ac7308f, faulting module unknown, version 0.0.0.0, time stamp 0x00000000, exception code 0xc0000005, fault offset 0x0c094e16, process id 0x2aa8, application start time 0x01caf2b4e54acde3.
           b. Adobe Reader will simply stop responding and error out when being accessed
    Please submit any suggestions you might have for configuring these two applications to nicely coexist on a Citrix server.

    Adobe Reader was installed and running on all Citrix servers since their inception over a year ago.
    Recently, we installed Adobe Standard on each server and during installation Adobe Standard asked whether Reader or Standard should be used as the default program.  Adobe reader was selected and 80-85% of the time, the Citrix servers observe this rule.
    On other occasions, when users with access to Reader open a PDF, Citrix will present Adobe Standard instead of the default program.  At first, I thought it might be caused by a user with Standard already open but further testing proved Adobe Standard can be presented to a user of Reader even if there is no open session of Standard.

  • Can a form be filled/saved by multiple Reader users?

    I've created a fillable form using Acrobat 9 and enabled Form fill in and save in Adobe Reader. Reader User 1 fills in the form partially, saves and forwards to Reader User 2 to complete. Reader User 2 then cannot save the form with the form data. Is this expected behavior?

    First user confirmed she is using Reader X. I'm not sure about second user. It's not really appropriate for me to use them too much as troubleshooters, so thats about as much information as I'm comfortable asking for.
    Do you know specific instances where this behavior might happen? If there is too much chance of similar behavior going forward, we may have to scrap the whole fillable PDF idea.
    Thanks.

  • Does ES Designer enable 2D barcodes for an unlimited number of Reader users?

    Hi,
    I've the Acrobat Pro License, and I'm considering to purchase LiveCycle Designer ES separately.
    But first I've to be sure about two issues.
    I read from Acrobat Pro Extended Guide that I can enable Reader user to save form data:
    http://help.adobe.com/en_US/Acrobat/9.0/3D/WS58a04a822e3e50102bd615109794195ff-7e0d.w.html
    This feature is avaible with a limit of  either 500 addressees for the form or 500 "data extraction" also with the Acrobat professional license (license agreement 14.13.3 ).
    In another discussion on these forums It was said to me that LiveCycle Designer ES removes this limitation:
    http://forums.adobe.com/message/1978157#1978157
    Is it true?
    Form enabling for Reader users is also necessary when adding a 2D barcode:
    http://help.adobe.com/en_US/Acrobat/9.0/3D/WSB6B0B0A6-FD16-4d4b-A729-815994F689BF.html
    Otherwise the barcode is rendered in an encrypted way and can't be decrypted.
    Can you confirm to me that Acobat Pro + LiveCycle extended makes me able to enable the 2D Barcode capability so that barcodes will not be encrypted?
    Thanks a lot
    Giuseppe

    So first of all, if you have bought and installed Adobe Acrobat Professional then you also have Adobe LiveCycle Designer ES (for PC only).  You do not need to buy it seperately.
    If you would like to extend your forms beyond the license provided in the EULA with Acrobat Professional then you will need to buy Adobe LiveCycle Reader Extensions ES or Adobe LiveCycle Barcoded Forms ES if you wish to use Barcoded Forms.  Designer alone does not change the licensing.

  • Acorbat Reader users cannot submit my form to me

    I created a form for use by the nine members of my brokerage team. Some people have Acrobat Standard; but some only have Reader. It seems as if the Reader users are unable to submit the forms. When the Reader users click on the button to e-mail the form back to me, they get an error message saying "This operation is not permitted."
    I have looked for solutions online, but cannot find any that fit this situation, given the versions of Acrobat that are being used: Pro XI (used by three of us with Creative Cloud), Standard X, Reader (multiple). The solutions that have been posted involve making changed within the Registry; and those solutions that do not involve the Registry make suggestions for setting changes within Pro that don't even exist in my version of Pro XI. (Go figure.)
    It would be really nice to get this issue resolved once and for all. If anyone has any recommendations, I would love to hear them.
    Cheers!

    You don't need to change the registry. It sounds like the form is set up so that the entire PDF is included in the submit, instead of just the form data. For this to work with Reader versions prior to 11, the document needs to be Reader-enabled, since Reader otherwise is not able to save a filled-in form. This won't be needed if Reader 11 is used since it is able to save a non-enabled form (AcroForm, not XFA).

  • Acrobat form field that allows Reader user to browse and insert a picture into a predefined area

    Is there a way to do insert a form field into an AcroForm that allow Reader users to browse and insert a picture into that form field?
    I know that LiveCycle can do this, but I need to do this using an AcroForm. Or maybe there's a third-party plug-in that can be used in an AcroForm to do this?

    Jay,
    The new version of Reader, which was announced today (see AcrobatUsers.com), will now allow you to use the field.buttonImportIcon method: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.737.html
    For a bit more information, see: http://forums.adobe.com/thread/743823
    Here's the minimum code that can be used in the Mouse Up event of a button that's configured with a layout that's something other than "Label only":
    // Mouse Up script for a button
    event.target.buttonImportIcon();
    Since this isn't backwards compatible with Reader, you'll probably want to add additional code to test what version is being used and alert the user if it's pre-11. You should also check the return value to see if anything went wrong. The hard part is getting everyone to upgrade, but this and a number of other features should make it worth it.

  • How to Create a Button for Reader Users to Save XML Data File?

    The "Submit via Email" tries to launching the local email software, like outlook express. But public computer tends to use internet emails.
    I am thinking of creating a button, allowing the reader users to save xml data filled in the form (same as the "submit via email" produces) somewhere.
    anyone has a clue?
    Thanks a lot!

    You could create the shortcut at one machine, then copy it to the target as part of the logon script. Note also that this line contains an error:
    "C:\Users\%userprofile%\Desktop\Org_chart_test.lnk"
    It should read:
    "%userprofile%\Desktop\Org_chart_test.lnk"

  • Allow reader users to save pdf form with data

    I want to create a form that an adobe reader user can open and save a copy as a pdf with the data in the form. I know that requires reader extensions - what i can't seem to figure out is if I already have this included and how to do it. I have LiveCycle Designer ES 8.2 - which is the download I end up at when searching LC with reader extensions.
    Does anyone have instructions on how to do this or know whether that functionality is available in the version I'm running?

    You can add the Reader Extesnion right to save the form with data locally in two different ways.
    1. In Acrobat Pro open the form and under the Advanced/Extend Features in Adobe Reader will walk you through a wizard. Once the wixard is finished, save the file and use that one. This technique is limited to 500 users by licence.
    2. LiveCycle Reader Extensions Server has a User Interface that allwos you to pick the rights you want. There are no luser imitations to this option.
    If you do not have either, option 1 is a lot simpler. You can download a trial copy of Acrobat Pro and try it.
    Paul

  • Flatten Fields for Acrobat Reader Users

    I've created a 6 page form in Acrobat Pro 9 with a bunch of fields.
    I need to send this form to my client who only has Acrobat reader. They need to fill in the form then they need to flatten all fields in order to send it out - basically, the form ends up being a read-only document.
    If if the acrobat reader user sends the form back to me, I can't do a save as / Adobe PDF optimized/ flatten. It says I don't have "sufficient permissions to perform this task".
    Please help!

    Thanks for the response. I figured that was the only solution. There are at least 80 forms that will need be done this way, so I was wondering if there was a much simplier solution.
    Do you know if there is a "batch" feature I could do? I tried File / Export / Export Multiple Files, but that doesn't work.
    thanks!

  • How to hide an webpart for the all members who have access for the this site but visible for the restricted read users?

    Hi,
    Any help?
    Thanks
    srabon

    Hi Srabon,
    We can set the "Target Audience" property of web part to group maintaining restricted read  users.  By this, the web part will be shown to specific users only.
    Please let us know if this helps.
    Thanks,
    M. Gubendra Raj

  • How to Have Reader Users Add a picture

    I want Reader users to be able to add a photo to a pdf in a certain place. I know I'll have to "Enable" the pdf made in Acrobat 9 Pro. (I've already asked in that forum and they sent me here.)

    >they sent me here
    If it could be done, it would be something you'd have to do in Acrobat first but, I don't think it can be done...

Maybe you are looking for

  • Sub Contracting with Excise

    Hi Expert, Pls. guide me about mapping of Sub contracting with excise in SAP B1. Thanx in advance Regards Kamlesh Vagal

  • All Qualifications date is Maintained as 01.01.1900

    Hi Friends, In Infotype 24 it is displaying as " Change profile period from 01.01.1800" and the qualifications are created from 01.01.1900. I could not understand how to change this. In the relationships there are different dates, qualifictions are a

  • Bug in 2.2 update to iTunes app

    I love that I can now directly download podcasts via my iPhone. The only problem is that I cannot DELETE them when I'm finished with them. There is no delete option on my phone, and when I connect to my computer the only podcasts that appear are thos

  • Lost and Confused

    I am trying to understand arrays. Where do you declare an array? I understand that an array is basically a container of like items/objects, but how do I fill the container? How do I get the information into the array? If I don't know the information

  • My MacBook Pro gets a gray screen followed by a message that I will have to shut down.  This has happened five times in the last 8 days.

    This started happening around the beginning of this year.  I contacted Apple Support and they worked with me on-line and over the phone.  It happened again the next day.  After it happened about 20 more times, I took it into the Apple Store and they