How to capture name of user that logs into Portal?

Im trying to create a report that returns information from a
Profile table. The UserId is the key to the Profile table.
Since this report returns information dependent upon who runs
it, I would make use of the USER functionality in SQL to isolate
the row in the Profile table. However, this technique wont
work through Portal because the user logs into Portal not the
database.
What technique (keyword, API, etc.) should I use to capture the
username of the person who logged into Portal?
Thanx,
JE

Try this:
PORTAL30.wwctx_api.get_user
Adam

Similar Messages

  • How to find out the users currently logged into ODI

    Hi all,
    How to find out the users currently logged into ODI Work Repository?
    Thanks.

    Hi,
    It stores all the final queries in work rep table i.e "SNP_SESS_TXT_LOG" and the column is "TXT".
    Here u can find all the ODI bkp process queries.Pls specify the SESS_NO for purtivular task u want to check which u can get this in ODI operator.
    I dont think so that it will keep the substituted value(because its implicit and temporary process) but it will keep all the default values in the table SNP_VAR_SESS and the column is "DEF_V".
    Thanks,
    katukota

  • How to erase the last user that logged on to BO ?

    Hi!
    When you log on to Business Objects 6.5, the name of the last user that logged on is presented to you.
    When logging in to BO, the userID of "ADBONDT" shows at the PC of user "DLECOIN". User DLECOIN is therefore convinced that user ADBONDT sneaks into the office at night and uses his PC to connect to Business Objects. Which is nonsense, user ADBONDT has her own computer, own office, own login... Of course, at some point in the past, ADBONDT may have used the PC and the logon name is probably stored in a file or setting somewhere...
    So my question is how I can erase the "last logon" in Business Objects? Where are the logon names stored? In the Windows registry? In a file? In the repository?
    This issue is NOT blocking, but the user (a highly placed manager) demands that it gets solved.
    All help appreciated...
    Daniel

    Found it! The last login is stored in the "BOMAINV6.LSI" file on the PC, which is usually in the directory C:\Documents and Settings\WINLOGON\Application Data\Business Objects\Business Objects 6.0\lsi
    If you delete the lsi file, then a new file gets created automatically, and the problem disappears....

  • Need to log into portal usign a different User-Agent(SPS15 issue)

    Hi,
    we are having an error trying to log portal. We have an application that logs into portal to get the MYSAPSO2 Cookie.
    This applications have in the header the User-Agent "ExtApp".
    Apparently due to changes in SPS15 the page builder becomes more restrictive on the range of browsers that can access portal.
    We´d like to add our own User-Agent.
    Any thoughts on how can this be done.
    Regards
    Fernando

    For anyone interested, the problem was resolved by restarting the OC4J_Security component from the infrastructure tier.
    This poses another question, for newly created users to take effect, does this restart always need to occur?

  • How to find out if a user is logged into a windows XP or VISTA machine

    Hi,
    Could somebody please tell me how to find out remotely over a LAN, whether a user is logged into a computer that is running windows XP/VISTA or not? How can this be programmatically done if we know the name of the remote machine?
    Thanks.
    Ravisara

    Hi,
    Thanks for all the replies.
    Actually it seems that my question has either been misunderstood or has been badly phrased by me.
    What I want to know precisely is the way to find out if a user is logged into a machine or not. Say for example in a LAN there are three computers called A, B and C. If my Java program is running on machine C, how can the program check whether a user is logged into machine A? Assuming JRE is present in all three machines, the machines have as their OS windows XP or VISTA and all machines are connected to a windows domain(Windows 2003 server based network)
    The idea here is to identify all the computers in a network that users are not logged into and then to remotely shutdown those computers in order to minimize wastage of electricity(preferably after a particular time of the day in an organization).
    Any replies would be much appreciated.
    Kind regards,
    Ravisara

  • I need a script that will find the computer a user last logged into.

    I am still learning scripting, I need a script that will allow me to pull in usernames from a csv file. Find what computer they last logged into and output that to an csv file.
    I have looked all over and can't find exactly what I need.
     I found the following script but I need  to add the resuitsize unlimited but can not figure out where to put it we have a large environment. Also I need to be able to grab username from a csv file. Any assistance you can provide is appreciated.
    ##  Find out what computers a user is logged into on your domain by running the script
    ##  and entering in the requested logon id for the user.
    ##  This script requires the free Quest ActiveRoles Management Shell for Active Directory
    ##  snapin  http://www.quest.com/powershell/activeroles-server.aspx
    Add-PSSnapin Quest.ActiveRoles.ADManagement -ErrorAction SilentlyContinue
    $ErrorActionPreference = "SilentlyContinue"
    # Retrieve Username to search for, error checks to make sure the username
    # is not blank and that it exists in Active Directory
    Function Get-Username {
    $Global:Username = Read-Host "Enter username you want to search for"
    if ($Username -eq $null){
    Write-Host "Username cannot be blank, please re-enter username!!!!!"
    Get-Username}
    $UserCheck = Get-QADUser -SamAccountName $Username
    if ($UserCheck -eq $null){
    Write-Host "Invalid username, please verify this is the logon id for the account"
    Get-Username}
    get-username resultsize unlimited
    $computers = Get-QADComputer | where {$_.accountisdisabled -eq $false}
    foreach ($comp in $computers)
    $Computer = $comp.Name
    $ping = new-object System.Net.NetworkInformation.Ping
      $Reply = $null
      $Reply = $ping.send($Computer)
      if($Reply.status -like 'Success'){
    #Get explorer.exe processes
    $proc = gwmi win32_process -computer $Computer -Filter "Name = 'explorer.exe'"
    #Search collection of processes for username
    ForEach ($p in $proc) {
    $temp = ($p.GetOwner()).User
    if ($temp -eq $Username){
    write-host "$Username is logged on $Computer"

    If you are querying by user "resultset size" will be of no use.
    You also have functions that are never used and the body code doe snot look for users.
    Here is what you scrip looks like if printed well.  It is just a jumble of pasted together and unrelated items.
    ## Find out what computers a user is logged into on your domain by running the script
    ## and entering in the requested logon id for the user.
    ## This script requires the free Quest ActiveRoles Management Shell for Active Directory
    ## snapin http://www.quest.com/powershell/activeroles-server.aspx
    Add-PSSnapin Quest.ActiveRoles.ADManagement -ErrorAction SilentlyContinue
    $ErrorActionPreference = "SilentlyContinue"
    # Retrieve Username to search for, error checks to make sure the username
    # is not blank and that it exists in Active Directory
    Function Get-Username {
    $Global:Username = Read-Host "Enter username you want to search for"
    if ($Username -eq $null) {
    Write-Host "Username cannot be blank, please re-enter username!!!!!"
    Get-Username
    $UserCheck = Get-QADUser -SamAccountName $Username
    if ($UserCheck -eq $null) {
    Write-Host "Invalid username, please verify this is the logon id for the account"
    Get-Username
    get-username resultsize unlimited
    $computers = Get-QADComputer | where { $_.accountisdisabled -eq $false }
    foreach ($comp in $computers) {
    $Computer = $comp.Name
    $ping = new-object System.Net.NetworkInformation.Ping
    $Reply = $null
    $Reply = $ping.send($Computer)
    if ($Reply.status -like 'Success') {
    #Get explorer.exe processes
    $proc = gwmi win32_process -computer $Computer -Filter "Name = 'explorer.exe'"
    #Search collection of processes for username
    ForEach ($p in $proc) {
    $temp = ($p.GetOwner()).User
    if ($temp -eq $Username) {
    write-host "$Username is logged on $Computer"
    I suggest finding the original code then use the learning link at the top of this page to help you understand how it works in Powershell.
    ¯\_(ツ)_/¯

  • How do I chat between users that are under one .mac/MobileMe family acct?

    How do I chat between users that are under one .mac/MobileMe family acct? We are all under one account, but in different locations, using iChat 4.0.5 and OS 10.5.4. Thank you.

    The only way is to create separate accounts under either AIM or Jabber (for example Googletalk). Then everybody logs into iChat with a different user and you can have full iChat functionality (except encryption which works only if you have different .mac accounts). If some members of your family have already a gmail/googlemail account then they can use this account information to log into iChat if you create a Jabber account with the gmail user information. Otherwise go to www.aim.com, request a screen name and use this user information to create an AIM account in iChat.
    Have fun.

  • Find out from the machine name, what user is logged in

    thank you. Is there a way to find out from the machine name, what user is logged in or who the machine belongs to?
    I can actually find out from the username what machine they have because there is a field called the wWWHomePage that gets populated with the computer name
    how do I do that? 
    Also I have a list of email addresses. How do I find the username from the list of email addresses ?
    thanks

    I have no good way to test this, so you'll probably have to adjust this on your end:
    Get-Content .\users.txt | ForEach {
    $emailAddr = $_
    $props = @{
    EmailAddress = $emailAddr
    Username = ''
    ComputerName = ''
    ComputerPath = ''
    try {
    $userDetails = Get-ADUser -Filter "EmailAddress -eq '$emailAddr'" -Properties wWWHomePage -ErrorAction Stop
    $pcDetails = Get-ADComputer -Identity $userDetails.wWWHomePage -Properties CanonicalName -ErrorAction Stop
    $props.Username = $userDetails.SamAccountName
    $props.ComputerName = $userDetails.wWWHomePage
    $props.ComputerPath = $pcDetails.CanonicalName
    } catch {
    $props.Username = 'ERROR'
    $props.ComputerName = 'ERROR'
    $props.ComputerPath = 'ERROR'
    New-Object PsObject -Property $props
    } | Select EmailAddress,Username,ComputerName,ComputerPath
    Don't retire TechNet! -
    (Don't give up yet - 12,950+ strong and growing)

  • To find out the number users that logged in to SAP in previous months

    Hi !
    Is theer any report or transaction in SAP that will or can tell us as to how many users had logged into SAP syatem say in the month of May or June . They want to know the total number of users that had logged in to SAP in previous months to to track the user information and how many users are not using the SAP or how many ppl using it to keep a track of teh user certificates that may be re-sed or just for information purpose also. Right now I have found a trabsction AL08 but that just gives information of present login , I would like to get it for previous months if possible.
    Thanks

    But this does not give the details of the all the users that had logged in and as to how many users were logged in that month and at what times .Is theer any other transaction that gives the user information also.?
    Thanks

  • HT201303 How can I find out the ip address that logged into my account?

    How can I find out the ip address that logged into my account?

    Open Airport Utility. You should find it in there under the Internet tab.

  • Using GPO to pin a preset list of icons on the taskbar for each user that logs onto their workstation?

    I would like to have the taskbar show a predetermined set of icons (Word, Excel, PPT, etc.) pinned to taskbar when a user first logs into their host machine.   Is this doable through a default GPO setting or do I need to do this via scripting?

    Hi onetech-it,
    Please tell us the OS enviroment of clients to get more help.
    If the clients are Windows 7, please refer to the following article which contains detailed steps:
    Forum FAQ: How to deploy Windows 7 Taskbar Pinned Icons by Group Policy?http://social.technet.microsoft.com/Forums/windowsserver/en-US/d172b4de-be7c-4149-8958-bebfe042ade1/forum-faq-how-to-deploy-windows-7-taskbar-pinned-icons-by-group-policy?forum=winserverGP
    Regards,
    Lany Zhang

  • How can I get the ip addres of computers that log into my Applet?

    How can I get the ip addres of computers that log into my Applet?
    Thanks
    REuven

    Try using method getAddress of class InetAddress.

  • Users cannot log into Remote Desktop after 3/11/2015 update!

    I have a simple network where users can log into a Windows SBS 2008 server with Remote Desktop to access various applications.  This worked quite smoothly until this morning, after the updates of last evening. (3/11/2015)
    When users tried to log into the Remote Desktop this morning their credentials were rejected, as if their username and/or password were incorrect.  Even I (as the administrator) could not log in remotely.  Finally I connected a monitor and keyboard
    directly to the server and was able to log in without an issue.  After logging in directly I was able to connect through remote desktop.
    This method worked for my other users as well - after I logged them in directly they were able to use remote desktop no problem.
    The trouble is that I have a couple dozen users, and this is an issue that should not be occurring.  What happened in the last update to cause remote desktop to reject users credentials?  Why does it only work after the user logs in directly? 
    And most importantly, how do I fix this?
    A few notes:
    Simply browsing for files on the server also asks for the user's name and password, and this works as well.  This is only a remote desktop issue.
    I have already checked to make sure the domain was correct.  It was.
    I have already checked to make sure the usernames and passwords were correct.  They were.
    I have already checked to make sure this was not a unique issue for a single (or limited number) of users.  This issue effected
    all users all the network.
    Thank you very much for your help,
    Dustin

    I'm curious here...  If the server is rebooted, does it put the RDS users back into a "credentials failed" situation?  If so, could you please have them log in with credentials:
    domain.local\username    (I suspect they may be currently using domain\username)
    and see if that fixes the RDS problem without having to first log into the server directly.
     The ".local" may be ".lan" or ".somethingelse" depending on how you initially configured your domain, but the default for SBS 2008 is ".local"
    Merv Porter
    =========================
    That's a good question - the server will auto-reboot this evening and I'll test again in the morning. 
    You are correct that we've been using domain\username.  I tried domain.local\username (which is the way we've set up), and that did not work either.
    I'll let you know how things turn out tomorrow morning.  I don't want to mess with my users anymore today. :P
    Dustin

  • Determining wether a User has Logged into an NTDomain

    Does anyone have any suggestions as to how I can determine, programmatically,
    wether a user has logged into an NT Domain, from a Win95 PC.
    From an NT workstation, I can simply check the USERNAME andUSERDOMAIN environment variables. Is there possibly a Win32 API
    call that I can make ?
    Thanks,
    -Carl
    Carl Schei
    Technical Forte Consultant
    South Africa
    +27 31 3641765 (w)
    email : [email protected]
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Does anyone have any suggestions as to how I can determine, programmatically,
    wether a user has logged into an NT Domain, from a Win95 PC.
    From an NT workstation, I can simply check the USERNAME andUSERDOMAIN environment variables. Is there possibly a Win32 API
    call that I can make ?
    Thanks,
    -Carl
    Carl Schei
    Technical Forte Consultant
    South Africa
    +27 31 3641765 (w)
    email : [email protected]
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • User created but can't log into Portal. OID not in-sync with Repository.

    Logged into Portal as portal
    Go to Administ Tab
    Created a group i.e. TestGroup
    Created a user i.e. TestUser, put the user's default group as TestGroup.
    I logged-out and and tried to log in as TestUser it doesn't let me log into Portal.
    I do see the TestUser under TestGroup when going to Administer Tab and checking it, but some how can't log-in. I tried to use wwsec_api.user_in_groups to print the group names using SQL-Navigator but it never returns anything for the user I created above.
    username := 'TestUser';
    groupid := WWSEC_API.USER_IN_GROUPS(p_user_name=>username);
    ..........Now if if try the following and use portal it returns me all the groups the portal user is in i.e.
    username := 'portal';
    groupid := WWSEC_API.USER_IN_GROUPS(p_user_name=>username);
    ..........Looks like OID and repository are not in-sync. Can someone give some in-sight why is this happening and what can I do to fix this. I even tried adding the user under some other groups but still never returns me the groups when I run the above PL/SQL.
    Thanks

    Under Administer -> SSO/OID Tab I have Enable directory synchronization is checked. But still can't log in. Any ideas.
    Thanks

Maybe you are looking for

  • HT203254 When I Turn My Macbook Pro On The Screen Dosen't Work

    My Macbook Pro Has A Nvidia Geforce GPU And The Screen Won't Work When I Turn It On

  • Use of final keyword on methods arguements ?

    Hi All, Just say I have an input arguement for a method which is an int. If I wanted to access the value stored by the input arguement reference inside an anonymous class that is contained in the method one way would be to pass the input arguement re

  • Forms 11g

    Hi, I am installing forms 11g.I have performed all the steps and the installation was done but it fails on domain creation.My error as shown in log file: oracle.as.provisioning.exception.ASProvWorkflowException: Error Executing workflow.      at orac

  • Cannot update blackberry app world. It shows some weird error.

    Here is the story. I was using os7 and and 2 days back I upgraded it to 7.1. As usual after upgrading the os, I updated pre installed apps. Like Facebook and bbm and did a re start. After re staring I found that there is no Facebook and bbm icon. I w

  • Illustrator CC Running sluggish.

    Hello, I recently brought a new iMac 5k with 4GHz Intel Core i7 Processor, 16GB Memory, Graphics AMD Radeon R9 M290X, 256Gb SSD and Adobe CC. I am getting some lag issues. By this I mean if I pan around art boards it is quite sluggish when it should