User!UserID when using custom Authentication in SSRS2012

We are using FormsAuthentication with SSRS2012 for our custom authentication in SSRS2012.
What SSRS code determines User!UserID report expressionwhen using a custom authentication provider?
I ask this because if the FormsAuthCookie.UserName determines the User!UserID value, then I need to use a more unique value than FirstName/LastName when building the forms auth cookie.
thanks
scott

Hi scott,
UserID is the ID of the user running the report. If you are using Windows Authentication, this value is the domain account of the current user(Domain/username).
The value of User!UserID is determined by the Reporting Services security extension, which enables the authentication and authorization of users or groups; that is, it enables different users to log on to a report server and, based on their identities,
perform different tasks or operations.
By default, Reporting Services uses a Windows-based authentication extension, which uses Windows account protocols to verify the identities of users who claim to have accounts on the system. Reporting Services uses a role-based security system to authorize
users. The Reporting Services role-based security model is similar to the role-based security models of other technologies.
WorkFlow about authentication and authorization occur as follows:
https://msdn.microsoft.com/en-us/library/ms152825.aspx
The user credentials are submitted to the Reporting Services Web service through the
LogonUser method.
This member of the Reporting Services Web service can be used to pass user credentials to a report server for validation. Your underlying security extension implements
IAuthenticationExtension.LogonUser which contains your custom authentication code. In the Forms Authentication sample,
LogonUser, which performs an authentication check against the supplied credentials and a custom user store in a database. An example of an implementation of
LogonUser looks like this:
https://msdn.microsoft.com/en-us/library/ms152899.aspx
If you still have any problem, please feel free to ask.
Regards
Vicky Liu
If you have any feedback on our support, please click
here.
Vicky Liu
TechNet Community Support

Similar Messages

  • Interactive Report - search does not work when using custom authentication

    Apex 3.2.x
    I can authenticate fine with my custom authentication and all of my pages work okay except for one page that uses the Interactive Report feature. When I click 'Filter' then enter the column name, operation (contains, =, like, etc.) and the expression, then click the 'Apply' button, the page just re-displays and my filter information is missing?
    If I first login to Apex, select and run my application, the Interactive Report features work just fine. What's missing?

    More information:
    After login into my Apex workspace (development environment), when I display the Interactive Report and click debug I see this debug message:
    "using existing session report settings"
    When I login using my application's custom authentication and click debug I see this debug message:
    "creating session report settings as copy of public saved report"
    Based on this, it appears that my session info in not set correctly when using custom authentication... but I'm not sure what needs to be set.
    Edited by: user9108091 on Oct 22, 2010 6:44 AM

  • History Attributes when using Custom Authentication Type

    assigned all History Attributes (in the Entity Object Editor) to my audit columns.
    During run time, I find only Created By is assigned the SYSDATE, and Created On, Modified On, and Modified By are null.
    I am using Custom Authentication Type.
    I have read that the History Attributes only work the the JAAS authentication type. Appreciate any one confirming this.
    Also, how do you implement History Attributes if you are using the Custom Authentication Type? Do you need to write Java code?
    Thanks.
    John

    Hi,
    confirmed it only works with container managed authentication performed through JAZN. You can't use this with custom security as otherwise this feature could be overwritten. Still you can provide your own implementation:
    - create a custom table
    - use the setAttr method on the RowImpl class of a VO to store the username
    Frank

  • Strange problem when using custom authentication schema

    Hello,
    I'm building a custom authentication system for the application. Basically, I followed the blog post from Martin: http://www.talkapex.com/2009/03/custom-authentication-status.html
    However, the authentication seems working fine at the beginning when running the page 101 from Application Builder and log in, but when I log out from the application (redirect back to page 101) and try to log in with the same credentials, it gives error message "Invalid Login Credentials ". Also, when the application is accessed from public (open page 101 directly using another computer), the authentication doesn't work at all.
    Furthermore, I checked the table apex_workspace_access_log and found out that it has "AUTH_SUCCESS" even if using the fake credentials and the login failed (I use "apex_util.set_authentication_result (p_code => 3);" when auth function return false).
    I couldn't find the cause of the problem, then I created the same custom authentication in apex.oracle.com. The problem doesn't appear anymore. To make sure they are same, I have double checked the custom authentication in both the development environment and the apex.oracle.com.
    This is very strange to me and I don't know where to looking for the problem. Could you give me some advice of what may cause this problem. Thanks in advance!

    I found the problem myself. The cause is the VPD, the account table has VPD policy applied, which prevented public access.

  • Problem with User exits when using custom fm

    Hi everybody,
    I am processing an IDoc using fm IDOC_INPUT_INVOIC_MRM. Nos I had to copy this to Z_...
    And this fm has a sun-routine that calls User-exits. When I am using the standard fm, the UEs are being checked for active and executing the logic in the UE. But when I am processing IDoc using Z_...fm, the system is checking if the UEs are active. Its also active and now the cursor is coming to CALL CUSTOMER-FUNCTION '014'. But here when I press F5 in Debug, the cursor moves to the next statement after this function call without executing the user- exits. I dont know why its not executing the UE.
    Is there any setting that I need to make?
    thanks in advance
    kris

    Hi Vamsi,
    User exits are specific to the object they are included in. So when you have a "CALL CUSTOMER-FUNCTION '011'" in IDOC_INPUT_INVOIC_MRM and when you have "CALL CUSTOMER-FUNCTION '011'" in your Z function module, they are two different things.
    The purpose of a user exit is that you can include your logic in there within the limits defined by the object and without repairing the system. If you copied it, then you don't need the user exit anymore, as that copied object is your custom object and you can incorporate anything you want within main source code itself. If you really thing you should have that user exit, then double click on the call function statement, the system will ask if you want to create the function module, say yes and proceed with the creation.
    But I don't see any reason why you will copy a standard IDOC function module(while you could have used a user exit in there) and still want to use the user exit functionality. Once you copied, it is your object and you don't need a user exit to insert code into your own object.
    Hope this is clear.
    Srinivas

  • How can i set  "Createdby" attribute  When using Custom JheadStart Security

    Hello
    We do not use JASS for Authentication , please help us how can i set createtby attributes with jhs.username in application for any entity object?
    thanks

    See a similar question at History Attributes when using Custom Authentication Type

  • When use custom authetication it shows some characters on screen after logo

    Dear All,
    I have developed a application and use custom authentication schema for that. It works fine on my local pc and then I have moved it to another pc (export and then import) it works fine on that as well.
    Now I have moved it to the production server. When authentication failed it shows error message and stay in log on page. But when I provide the correct user name and password, then it shows multiple occurance of login url in page body.
    Did anyone has any idea about this.
    When authenticate success I get below output.
    Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?
    p=ETLUI:COM_LOGIN:2888953545161107 Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?
    p=ETLUI:COM_LOGIN:2888953545161107 Location: f?Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?
    p=ETLUI:COM_LOGIN:2888953545161107 Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?
    p=ETLUI:COM_LOGIN:2888953545161107 Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?
    p=ETLUI:COM_LOGIN:2888953545161107 Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?
    p=ETLUI:COM_LOGIN:2888953545161107 Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?
    p=ETLUI:COM_LOGIN:2888953545161107 Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?p=ETLUI:COM_LOGIN:2888953545161107 Location: f?
    p=ETLUI:COM_LOGIN:2888953545161107 Location: f?p=ETLUI:COM_LOGIN:2888953545161107 * ETLUI means my application alias and COM_LOGIN is my login page alias. So basically it shows link to the login screen multiple time. At this time url is looks like below
    http://prodsrv:8080/apex/wwv_flow.accept Development and Production Apex Version: 4.0.2.00.07
    Development OS: Windows 2000
    Production OS : Linux
    Thanks in advance.

    Works ok after using Apex Listener.

  • Error when using SAP authentication for Designer

    my error is:
    [repo_proxy 13] SessionFacade::openSessionLogon with user info has failed(The
    secSAPR3 DLL could not be found or does not exist(hr=#0x80042a01)
    can you help me?
    regards

    hi,
    pls refer the link
    Error when using SAP authentication for Designer
    try re-installing BOE and check
    hope it helps,
    sundar

  • EP6.0 : Custom workset/Role dosen't work when using Windows authentication

    Hi
      We have implemented EP6.0 with Windows integrated logon with Active directory.
      To create a custom "Transport' role, we copied ( not the delta link) the "Export" workset and put into the custom role. we assigned this role to one user.
      When this user logon through the integrated login( without needed the user id/password) although the new menu is visible, the export workset dosen't work( page can not be found).
      The same work set work when the user logs in with the userid/password combination.
      Also the default SAP provided workset always work.
      Thanks
    Arunabha

    Maybe try OSS #734462 - urlmaxsegmentlength issues.
    Had similar problems - pages work w/ userid/password
    (same pages don't work w/ NTLM authentication).

  • Build error when using custom error codes

    When I try to build my application using custom error codes I receive the following error:
    Error 1 occurred at Copy in AB_Engine_Copy_Error_Files.vi->AB_Application.lvclass:Copy_Error_Files.vi->AB_Application.lvclass:Copy_Files.vi->AB_Build.lvclass:Build.vi->AB_EXE.lvclass:Build.vi->AB_Engine_Build.vi->AB_Build_Invoke.vi->AB_Build_Invoke.vi.ProxyCaller
    Possible reason(s):
    LabVIEW:  An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @.
    =========================
    NI-488:  Command requires GPIB Controller to be Controller-In-Charge.
    C:\Program Files\National Instruments\LabVIEW 8.5\user.lib\errors\BPMS-errors.txt
    This only occurs the first time I attempt to build my application. If I build again immediately after receiving the error, everything works fine. My custom error codes were created using the provided editor, and I have included the file in my project. I have also checked the "Copy error codes" box in the advanced build specification settings.

    Hi Donovan,
    The attached project is giving me the error previously discussed. Thanks for your help.
    Attachments:
    BuildError.zip ‏10 KB

  • How to make reference wbs custom data carried to new wbs when using custom tab and custom table

    I created a custom tab for WBS elements by using user exit CNEX0007 and custom screen and put a table control in it.
    As table control's data has to be stored in a table I could not use append structure of PRPS.
    When I used reference wbs, PRPS custom fields were carried also but I could not find any solution to fill table control data with reference table.
    I need to get correspondence between reference number's and new id's key data. Is there any exit, enh. that I can store the relationship.

    Solved...
    I've used an enhancement point in include LCNPB_MF38.  CJWB_SUBTREE_COPY exports a table called newnumbers. Here you can find correspondances between copied WBS and new WBS.
    Exported table to memory id.
    And imported it in another user-exit. You can use proper user exit for your need.  ( EXIT_SAPLCNAU_002)

  • Using Custom Authentication

    Hi
    I am using a std login page with username password to call a simple custom authentication package.
    It works fine if you push the button to fire the authentication however i have noticed that if after entering the password you hit the enter key its bypassing the button and triggered process the page branches to a blank page. ends up going to wwv_flow.accept with blank page
    Is there an easy way to make the use of the enter key trigger the process the button would normally fire?
    TIA
    Richard.

    The blank page appears when im trying to login with an invalid username password combo that i would expect to fail.
    If its valid it branches correctly the same as if you'd used the button. For the invalid combo to goes to the blank page apon pressing the enter key. If you used the button it would not branch as the authentication failed as expected.
    Richard.

  • REPOST:Timing does not show up when using custom templates

    all,
    When I create an unstructured template and use it in a report with show timing set to true, the timing does not show up.
    any tips

    Correcting my previous reply,
    Timing will NOT show if you are using custom template.
    null

  • "Type mismatch" error in IE7/8 when using custom Actions Menu Image

    Hi all,
    in APEX 4.2: when using a custom image in the "Actions Menu Image" attribute in an interactive report, I get a "Type mismatch" error in IE7/8 when refreshing the report through PPR (filtering, sorting, paginating etc.). When I leave the "Actions Menu Image" field empty, everything works fine. The error doesn't seem to happen in IE9 (unless using compatibility mode), or in any non-IE browser.
    I've been able to reproduce the issue in an application on apex.oracle.com:
    http://apex.oracle.com/pls/apex/f?p=69347:1
    Some debugging seems to indicate that the following line in widget.interactiveReport.js is the culprit:
    lTemp.parentNode.replaceChild($x('apexir_WORKSHEET'), lTemp);Does anybody know if this is a known issue, or if there is some workaround?
    Thanks,
    Tobias

    Hi,
    Great solution Paul! It cost me a while before I found out the Action Menu Image was causing my interactive reports to stop refreshing in IE10 and not other browsers. Your solution works great, I've implemented it with a few minor adjustments:
    - Put the css in report template (for some reason it didn't work in our own application stylesheet)
    - replace  'url("/c/action_dropdown.gif")' with 'url("&APP_IMAGE_PREFIX./<path_to_image>")'
    - place one dynamic action on page 0: after refresh of '#apexir_DATA_PANEL' , set event scope to "Dynamic".
    - Let the Dynamic action also fire on page load.
    - To make sure the dynamic action only works for pages with an interactive report add condition of type 'Exists' with expression:
    select 1
    from   dual
    where  :APP_PAGE_ID in (select page_id
                                            from   apex_application_page_ir
                                            where  application_id = :APP_ID
    Best regards,
    Vincent Deelen

  • PO PDF errors when using custom RTF Template, but works with custom xsl

    Hi,
    I have done following set up steps for PO PDF
    Setup / Organizations / Purchasing Options / Control TAB / set 'PO Output Format' = 'PDF'
    setup / purchasing / document types / select "Standard Purchase Order" / Set the Document Type Layout to your new template.
    But with the RTF template the PO Output for communication completes with error. However when I use custom XSL-FO style sheet, it works.
    Can anyone help me how I can make my RTF work? When click on the preview of the template, it shows the PDF output though. Am I missing any other set up steps? Your help is greatly appreciated.
    Thanks,
    Sharmila

    I think the only way to have control over the html output is to enclose the tags or any information within a borderless table and align the text and table as necessary...
    Thanks,
    Bipuser

Maybe you are looking for

  • Production Order Cancellation with "Period month/year is not open error"

    Hello friends, We have this scenario wherein we already "confirmed" Production Order booking for a specific operations which was booked for the month of Sept 2009 using TCODE: CO11 and our Financial transaction was also closed for the month of Sept 2

  • Wireless Printing - HP Laserjet P1006

    I have installed the newest HP software package (2.2) and I still cannot print via wireless connection with an Apple Airport. Any suggestions? I am using Snow Leopard. All updates have been installed.

  • Error when using GetOracleString of reader

    Oracle 10.2.0.1 Windows xp VS Studio 2005 My procedure is running in sqlplus in which i have used rpad function to get fixed column width output something like : select rpad(col1,20,' ') item from table_1 Now, when i says : Dim myReader As System.Dat

  • 8.1.6 and designer 6i post install problem - please help

    Hello all, I installed designer following the install guide extremely closely. The install went off without a hitch. However, when I try to create and ERD, or any diagram, I receive this error: Message ORA-01400: cannot insert NULL into ("REPOS_OWNER

  • When is SELECT FOR UPDATE used

    DB version:10gR2 Since another thread of mine on this subject didn't go well, i am starting another thread. When exactly is SELECT..FOR UPDATE statement used? With the exception of using SELECT...FOR UPDATE in CURSOR declaration, I've rarely seen SEL