Filter report on Logged in user name

Hi
Very sorry for very basic question but unable to find answer for this anywhere.
If I am designing any report in Power BI then how can I provide parameter of current logged in user to the Power Query?
I want to design personalized reports as per the roles of current user in database structure.
Please suggest the way on this.
Regards
Somnath

Thanks for the suggestion. Currently the Apps version is 11.5.10.2 only.
Can you please help me finding out how the same could be achieved?
Thanks,
Viral.

Similar Messages

  • How to get current logged-in user name in data access driver or in universe

    In universe, to get the current log in user is via @Variable('BOUSER').
    Right now, I need to be able to get the user name in the data access driver. I am writing a customized data access driver because we need to patch some where clause on the the query generated by the universe based on the logged-in user info. I only think of using end_sql parameter or adding an universe level filter to patch the @Variable('BOUSER') to the query, which would not work if user want to use customized query.
    Can anyone tell me how to get currentBO user name from connection server ? or how @Variable('BOUSER') is translated into the logged-in user name in the universe?

    I do not know your EJB Service. But you should pass the credentials of the current logged on portal user to your service. That's not by default I think.
    I had a similar problem with CAF developed webservices. I had to turn on permission checks in my web service and passed the credentials via logon ticket.
    Regards, Bernd

  • How to get logged in user name from windows service c#

    i use the below code to get logged in user name.
    private string GetLoggedInUser()
    string userName = "";
    if (System.Security.Principal.WindowsIdentity.GetCurrent() != null)
    userName = System.Security.Principal.WindowsIdentity.GetCurrent().Name;
    return userName;
    just do not understand why it is not giving a logged in user name rather it is return data in this format
    NT AUTHORITY\SYSTEM but i want to get user name.
    i try to run my service as Local Service and local system account but in every case i am getting this string
    NT AUTHORITY\SYSTEM instead of logged in user name.
    so please guide me what to change in code. thanks

    System is the account the service is running under.
    There can be none or many interactive users be logged in. What if none or multiple are logged in? Which one are you referring to then?
    Armin

  • Os x is falsely reporting a logged in user on shutdown/restart

    Ever since upgrading my Mac mini from OS X 10.9 Server to 10.10 Server I have a strange error: As soon as I log in into a local user then try to reboot/shutdown, OS X will report that another user is currently logged in and I need to enter admin credentials in order to shutdown/reboot. There are only two local users and only a few network users.
    So, no matter if I log in from the one or the other local user, OS X will always report another logged in user. If I log into a local user then log out again I will get the same message. If I do NOT log into any user, there will not be any message.
    Any ideas?

    only one account can be logged in and actively using the Finder and GUI at a time. thus, you can't login and control the computer at the same time your wife is. nothing exist for Macs that allows this.

  • Get logged in users name for email notification

    Hi all,
    I am using LC Update 1 with email notifications. In the notification email I would like to write:
    Hi "logged in users name"
    You have got a task in your to do-list...
    The thing is that I can not get the id of the user because the email is sent before he/she completes any step in the process. So I guess I need to look up the user in the same way as the notification-function makes the lookup... How is this done?
    Can you help me here?
    Sincerely
    Kim

    You can use a parameter for the user ID:
    http://livedocs.adobe.com/livecycle/8.2/wb_help/001330.html
    scott

  • How to get/capture log-on user name on PC (work station)

    Hi,
    Colud anyone give me how to get/capture log-on user name on my PC (work station)?
    I need to get the infomation by using a function module.
    Kind regards,
    Hisao

    Hi,
    TH_USER_INFO shows me terminal ID, IP address and other information. howerver it does't show me log-on user name of OS.
    Kind regards,
    Hisao

  • Project Server 2013 SSRS reports by logged in user group

    Hi All,
    We are using project server 2013. We have developed SSRS report. We need to display the projects based on the logged in user security group(e.g Project Manager, Administrator etc.) I tried with the below query got from a forums. But it is not working. Is
    there is any way to get the security group of the logged in user using SQL query.
    SELECT     MSP_WEB_SECURITY_GROUPS.WSEC_GRP_NAME, MSP_WEB_RESOURCES.RES_NAME
    FROM         MSP_WEB_SECURITY_GROUP_MEMBERS INNER JOIN
                          MSP_WEB_RESOURCES ON MSP_WEB_SECURITY_GROUP_MEMBERS.WRES_GUID = MSP_WEB_RESOURCES.WRES_GUID RIGHT OUTER JOIN
                          MSP_WEB_SECURITY_GROUPS ON 
                          MSP_WEB_SECURITY_GROUP_MEMBERS.WSEC_GRP_GUID = MSP_WEB_SECURITY_GROUPS.WSEC_GRP_GUID
    Thanks in advance, Taj

    Taj,
    The query above gives you a complete list of user groups and users. It does not filter by resource name/group.
    You can get the logged in user using the "USer Filter" webpart, on which the SSRS report is being displayed (assuming you are displaying it on a SharePoint page).  You will need to pass this as a parameter into your SSRS report.
    http://www.wonderlaura.com/Lists/Posts/Post.aspx?ID=214
    http://www.wonderlaura.com/Lists/Posts/Post.aspx?ID=91
    Prasanna Adavi,PMP,MCTS,MCITP,MCT TWitter: @prasannaadavi Blog: http://www.prasannaadavi.com

  • When i go on a site we use daily it now wont let us log in user names ok not the password

    when we try and log in on our site it will accept user name not the password normally does ok

    Hi Wayne!
    I assume you get an error message about wrong password on the site every time you try to log in?
    There can be several possible reasons for this problem, here are some links to KB articles that may prove helpful in solving your issue:
    [[Cannot log in to websites]] I think is the most likely guide to help you solve this problem.
    [[Username and password not remembered]] is another possible problem cruncher.
    Please try following these guides to identify the problem and get it solved.
    Service information: You might also want to test your plugins via the [http://www.mozilla.com/en-US/plugincheck/ Mozilla Plugin Check page] to stay on the safe side - things like Adobe Reader, Apple QuickTime, Sun Java and Adobe Flash plugins are essential to keep updated for both security and stability reasons. If the website uses a 3rd party technology like Javascript or Flash for login, updated plugins may be required and thus may also solve the problem.
    Please let us know how above works out, and if we can be of further assistance. Detailed feedback is appreciated and helps us to help you better, plus enables us to better help more users with similar problems.

  • Can't log off user name

    I never had any trouble. I'm on a G5, OSX, I have two user names, each with separate passwords. I try to log out of user name under apple pull-down and NOTHING...also I tried shift apple Q and NOTHING. Any suggestions? Thanks so much!
    alix

    Save your open documents in other applications, and then use the Activity Monitor in the /Applications/Utilities/ folder to force quit the loginwindow process.
    (23343)

  • Display logged in user name in omniportlet

    I am getting error when I use portal.wwctx_api.get_user() in sql query in omniportlet. I saw a solution in the forum that I needed to create page parameter and get the user name in th epage parameter and use that parameter in omniportlet
    My question is that how do I set up the value for page parameter. I know only place I can set it up is default value for the page parameter. It doesn't work for me. Could anyone help me please?
    Thanks

    It is not possible use api in omniportlet, like wwctx_api....
    You will get to show username using parameters in VIEW tab from configuration of OmniPortlet.
    In Header Text fielder, put ##Param1##.....
    After you will need to setup parameter in properties of page.... In parameters tab, use SYSTEM VARIABLE for omniportlet.

  • Logging correct user name when creating users

    I wrote a function that creates users through a portlet in version 3.0.9.8.4 It works fine except for logging who created the user. The schema where the functions and procedures are used gets updated in the wwsec_person$.created_by_dbuser field. The created_by field comes up as 'PUBLIC'. How can this field be updated through an API. The add_portal_user procedure has a p_db_user parameter, but that doesn't appear to work; whatever I put in that field doesn't show up anywhere.
    How can I pass the user_name who's creating the user in my function so it updates the wwsec_person$.created_by field? Or please tell me if it can't be done; then what does the add_portal_user.p_db_user param do anyway?
    Thanks,
    Rick

    Hi,
    Every portal user is mapped to a DB schema. Many portal users can be mapped to one DB schema. The p_db_user is the name of the DB schema. The portal user has the DB privileges of the p_db_user or DB schema. The created_by is automatically taken to be the DB schema of the portal user logging in.
    Thanks,
    Sharmila

  • Customizing a query for a report according to login user name

    Hi, I am new to the portal, so I have a urgent question:
    In my company we have local departments who are supposed to use
    the same report but only with their own data.
    I have a table with all users and their parameters (e.g.
    username + deptno) and might be able to create a function which
    gets the username (found that in one of the standard packages)
    and retrieves the parameter from the database via SELECT. The
    function should then return the parameter to be used where ever
    needed.
    Big question: How can I use this function in a SELECT-Statement
    for my report? I guess it must be something like
    SELECT * FROM -table or view- WHERE deptno = -schema.function-
    Right? Does the function have to be part of a package?
    Thanks in advance for any help.
    Yours
    Reinhard Piper
    Munich / Germany

    the table or view is WWSEC_person this is where the users are..
    Ruud

  • Log on user name

    how can I connect to the database via another name as oracle? (by server manager) tried with connect internal/system/manager@mydb
    how is the right syntax?
    the syntax by help was anyway not right :-(
    Andre

    you could do ...
    example my service name is orcl
    svrmgrl> connect oracle/manager@orcl
    good luck

  • How to get Current Log in BO user name in data access driver

    In universe, to get the current log in user is via @Variable('BOUSER').
    Right now, I need to be able to get the user name in the data access driver. I am writing a customized data access driver because we need to patch some where clause on the the query generated by the universe based on the logged-in user info. I only think of using end_sql parameter or adding an universe level filter to patch the @Variable('BOUSER') to the query, which would not work if user want to use customized query.
    Can anyone tell me how to get currentBO user name from connection server ? or how @Variable('BOUSER') is translated into the logged-in user name in the universe?

    Shweta,
    The link you provided was the Auditor guide for BO 6.x, I'm not sure it that is going to help Karen or not.
    Karen,
    There is function called connection
    (usage:  =connection([Query Name]), where [Query Name]
    denotes the name of the tab for the query under Edit Query)
    Here is some of the output from connection:
    4;ODBC18;MS SQL Server 2000166; VERSION=7; USER=xxxxx;
    PASSWORD=; DBTYPE=Relational; DATABASE=xxx_xxxx;
    ODBC_USER=xxxxxx; ODBC_PASSWORD=; BO_DSN=xxxx_xxxx;
    BO_DRV_CONNECT_MODE=0; 224; VERSION=6; Name=xxxxx; Shared=4;
    LoginTimeout=600; Timeout=600; Pool Time=60; Array Fetch Size=10;
    Array Bind Size=5; RecommendedLenTransfert=1000; Password_Encryption=x;
    AliasTable=; MeasureDimension=; Hint=; ConnectInit=; ArrayFetch=1;
    I'm not sure if this info helps out either, being that connection provides info on a post-processing basis and it sounds like you need to get out ahead of the SQL generation.  The @variable('bouser') would seem like the place to be, however, in allowing custom SQL to take place you loose the bouser due to an individual could customize the SQL to the point that it gets unwantingly yanked out.  The end_sql might be your answer...
    Thanks,
    John

  • Custom report toshow the "Last Logon User Name"

    Is it possible to create a custom report to display the "Last Logon User Name" field that appears in the Properties of each computer object ?

    Yes, download the RDL file and modify the report. If the user name is not in one of the current datasets, then you have to add it first.
    Kent Agerlund | My blogs: blog.coretech.dk/kea and
    SCUG.dk/ | Twitter:
    @Agerlund | Linkedin: Kent Agerlund |
    Mastering ConfigMgr 2012 The Fundamentals

Maybe you are looking for