How to find Out Sid Of A Particular User?

How to find Out Sid Of A Particular User?

if you have a privillege for v$mystat
SQL> select distinct sid from v$mystat;
SID
140
If the user doesn't have privillege
In User Session ask him to run .
SQL> select sys_context('userenv','sessionid') from dual;
SYS_CONTEXT('USERENV','SESSIONID')
4294967295
In DBA session compare this value with v$session audsid
SQL> select sid from v$session where audsid=4294967295;
SID
140

Similar Messages

  • How to find out responsibility attached for particular user through query

    hi
    How to find out responsibility attached for particular user through query
    Regards
    9841672839

    Hi,
    Following sql will help you find the responsibilities associated with the users in oracle applications.
    SELECT frt.RESPONSIBILITY_NAME, furg.end_date
    FROM
    fnd_user_resp_groups furg,
    FND_RESPONSIBILITY fr,
    fnd_responsibility_tl frt,
    fnd_user fu
    WHERE fu.user_name = ‘&&username’
    AND fu.user_id = furg.user_id
    AND furg.responsibility_id = fr.RESPONSIBILITY_ID
    AND frt.responsibility_id = fr.RESPONSIBILITY_ID
    ORDER BY 1
    Cheers...

  • How to find out the cost of SAP user for a particular user id

    Dear All,
    I got one issue like how to find out the cost of SAP user, i mean for a particular user id.
    Could you please advice me regarding this.
    Raghu

    Hello Raghu,
    I got one issue like how to find out the cost of SAP user, i mean for a particular user id.
    Could you please advice me regarding this.
    I think you need to reach out to BASIS consultant to check out the Cost involved for User ID for the SAP application.
    Regards,
    Sarthak

  • How to find Tcodes related to a particular user

    How to find Tcodes related to a particular user

    >
    P734000 wrote:
    > do we have any table to check the tcodes which were created by a particular user.
    Hello,
    I donot think SAP maintains this info
    @Max: I think t-code you gave is the same when i use SUIM --> TRxns --> "Executable for User"
    BR,
    Suhas

  • How to find out total of number of users accessing Hyperion Planning applications ?

    Hi All,
    Could someone help me with the details of how to find out total number of users who are accessing Hyperion Planning application in Env.?
    This is with regard to licenses so wanted accurate and unique information,
    Thanks
    Amith

    Hello Amith,
    I think you should have a look at the blog of Cameron Lackpour http://camerons-blog-for-essbase-hackers.blogspot.be/
    In the "Shared Services Stupid Trick" blogs, he shows how to find the real access to an application. The side benefit is that it is amusing to read.
    In how far this is OK for the licenses is written on another page. You likely need to use the same method as Oracle does. Ask the Salesperson how to do this. (I am curious what his/her reply is).
    Regards,
    Philip Hulsebosch.

  • How to find out the list of all user's whose passwords are expired

    Hi
    i had tried to find out the list of all user's whose passwords are expired.
    i had written some jndi code by finding the max age and then find out the current time and subtracted this current time from max age using the following code
    "Attributes attbts=ctx.getAttributes("cn=pwdpolicy");
    String maxAge=(String)attbts.get("pwdMaxAge").get();
    Date Today = new Date();
    System.out.println("maxAge"+maxAge);
    long curTime=(Today.getTime())-Long.parseLong(maxAge)*1000;"
    and then parse it and create a string time as follows
    String time=year+month+day+hour+minute+second+"Z";
    where "year" "month" etc were parsed from curTime
    now i can get the list by using following code
    "String filterCriteria="(&(objectclass=person)(pwdChangedTime>="+time+")";
    NamingEnumeration results = ctx.search(baseDN,filterCriteria, sc); "
    but the current time which i am getting is the time of my system not the time of ldap server
    so my questions are following;
    1.Can there is any way by which i can get the tivole sever's system time.
    2.If there is no way then can you suggest any other way to find out the list of user's whose passwords are expired.
    please help me.
    Thanks.
    Krishan Rathi.

    Hi,
    Thanx for ur reply..
    I got the list from the table...
    thanks,
    sivagami

  • How to find out the URL of the user coming from?

    Hi folks,
    From the HttpServletRequest, is there a way to find out the URL of the user coming from?
    Thanks in advance!
    Billy

    It is strange. The link is on a different http site eg. http://www.othersite.com. The link is pointing https://www,mysite.com/index.html. I put the alert(document.referer) on the index.html. Using FireFox will show the alert http://www.othersite.com every time. However, on IE, the first time is empty. The second time I click on the link, it will show http://www.othersite.com. Very consistent.

  • How to find out the Datasources  for particular data in R/3

    Hi ,
         I want to retrive the data from R/3 tables  which are  VEKP, INOB ,AUSP , CABN .. these all are ACCOUNTABILITY details...  so, how can i find the  BI  content  DataSources  are available or not...  if available means..
        for these ACCOUNTABILITY details.. i want to  know the BI content  CUBES  and ODS's  and  Datasources...  so, can any one give me the  names of  datasources.. or  cubes..  and how can we find out those names...
    helpfull answers will be highly appriciated..
    regards
    Babu

    The best way to go for this is to check the table RSOSFIELDMAP in BW.
    Put in the values below and you would see which field of R/3 maps to which info object in BW. If  nothing is mapped that means there is no infoobject mapped yet to that field. In this case you need to hunt in the BC or create your own info object.
    Soursystem = your r/3 sourssytem
    version = A
    field = your r/3 field name
    Once you get the datasource name, i am sure you can figure out the corresponding infosource and then the cubes and ODS linked to that infosource. ( right click infosource - - show dataflow)
    Hope this helps.

  • How to find out profile optoins value for user from database?

    I have PA debug enabled for a particular user in my ebusiness suite environment. I need to find out for what user is it enabled.
    FND_PROFILE_OPTIONS shows that its enabled for user and responsibility level. But I am not able to find out for which user/responsibility is it enabled, as this only shows flags.
    Can someone please tell me what table/view I need to check for that.

    Hi;
    Please see:
    How To Check If a Profile Option Is Set In Oracle Application [ID 470102.1]
    How to list E-Business Suite Profile Option values for all levels using SQLPlus [ID 201945.1]
    How to Search all of the Profile Options for a Specific Value [ID 282382.1]
    Regard
    Helios

  • How to find out which RAC service a user is using.

    Hi,
    Our RAC database uses clustering services.
    How do I find out to which RAC service a database user is setup for?
    I know how to check what it is currently using by looking at GV$SESSION. But i want to check what service a user was originally setup?
    I cant seem to find the info i need on the following views:
    GV$ACTIVE_SERVICES
    DBA_SERVICES
    GV$SESSION
    am i missing out something?
    thanks,

    There is a service_name column in gv$session that should show what service is being used by a connection.
    Sorry...reread and see that you know about gv$session...I'm not really sure what you mean by originally setup or how long ago you are trying to look for but in v$active_session_history there is a column that is service_hash that will join to dba_services column name_hash..so if you can find some old session from that user and get the service_hash you can get the service name from dba_services.
    Edited by: DBA_Mike on Mar 24, 2009 6:48 AM

  • How to find out maximum number of login users?

    Hi all,
    Is there anyway to find out what is the maximum number of login users since a database is started? Maybe I should ask, what's the largest number of sessions has been opened in a busy time of a database since it is started?
    I know v$session is my target. But how can I find out hte HWM of opened sesions?
    Thanks.

    Thanks Serch-NET. That's what I'm doing today. I should be a little more specific. I'm looking for a script that lends itself to automation. A script that can determine all the databases on a given server, find their background dump dest., grep all alert logs and return the highest of the HWM's. This is all scripting I could do myself, but being a follower of the Lazy DBA, I was hoping someone else had done it. :-)
    Thanks again.

  • How to find tablespaces used by a particular user.

    Can someone please tell me how I can find all the tablespaces that are used by a particular user?

    Hi,
    I'm not sure I understand the question.
    If you want to know what tablespaces user SCOTT is using to store his tables and indexes:
    SELECT DISTINCT  tablespace_name
    FROM    dba_extents
    WHERE   owner   = 'SCOTT'
    ;Edited by: Frank Kulash on Mar 23, 2010 3:14 PM
    Now that I see Oradba's answer, I think it's better to use dba_segemnts; it will be more efficient.

  • How to find weblogic Server memory for particular user

    In a weblogic server how can i get the information for each user approximately
    it occupying "x" size of memory...is there any command..so that based on number
    of users i can increse my memory and harddisk space.

    Hi,
    Following sql will help you find the responsibilities associated with the users in oracle applications.
    SELECT frt.RESPONSIBILITY_NAME, furg.end_date
    FROM
    fnd_user_resp_groups furg,
    FND_RESPONSIBILITY fr,
    fnd_responsibility_tl frt,
    fnd_user fu
    WHERE fu.user_name = ‘&&username’
    AND fu.user_id = furg.user_id
    AND furg.responsibility_id = fr.RESPONSIBILITY_ID
    AND frt.responsibility_id = fr.RESPONSIBILITY_ID
    ORDER BY 1
    Cheers...

  • How to find out scheduled reports of inactive users

    Hi,
    Need to stop the scheduled reports of inactive/terminated users. Any help on this process.
    Thanks

    Hi,
    Go to SM37 and check the schedule checkbox, now if you have user name then search for that users schedule reports and just delete those.
    You may need additional authorization to delete others job, get in touch with your security team if required.
    Thank-You.
    Regards,
    VB

  • How to find out table name for the field in the webUI

    Hi.
    I am in CRM2007.
    So i go to the transaction code    BSP_WD_CMPWB
    In that i provide the component name as CRM_UI_FRAME.
    I press the Test button.
    So, it opend the WebUI.
    I want how to find out table of the particular input field?
    I mean from which table the data is retrived how to find out?
    When i enter some thing in the input field how to find out in which table that data is stored?
    By pressing F2 on the input field it opend View and Component Name.
    I want find out table of that particular field. How to find it?
    If anybody know about this explain it with Screen shorts if possible.
    Thank You.
    Krishna. B.

    hi
    goto tx genil_model_browser. Suppose you want to find fields reated to your order header eg sold to name. In component set write all and press F8. Then goto access object and in access object click on node BTAdminH. Click on attribute structure. Here you will find structure and attributes. If you click relationship then you will see all the relationship wrt btadminh. open any r/s that you require. and click on other object and attribute. You will get to know the structure.
    Best regards
    Pankaj kumar

Maybe you are looking for

  • Problem in Importing in configuration.

    Hi All,   I am facing a problem while importing the configuration object saying that "UNABLE TO CONNECT TO SLD". Can you please let me know if i need to check anything , or anyway out. thanks, JAY

  • Replacing the same value in a string with varying values

    If I have a string: "%s is the %s I am referring to" and - I want to replace the %s occurrences with DIFFERENT values... what's the best way to do this. I was thinking parsing it into seperate strings using substr and instr but, I'm not sure if that'

  • Connecting to Oracle db with correct user and pass

    OK, Hi, I'm New with java script and here's what I have: 1- A user login. - Once he's authentified he can travel trought the pages. 2- Each user has special responsabilities - So when we execte as request ton the oracle db we connect using a certain

  • Ant and the junit task

    Can anyone tell me how to run JUnit from Ant? I have a directory structure set up with the source files in src, the .class files in build, and the junit task in Ant seems to be unable to find my .class files. I can run the test using the java task (w

  • Deleted notes from g mail and all notes disappeared.How do I retrieve.

    I was purging my g mail on my i pad and removed notes. I don't want the notes in g mail - only in notes. Before I knew it, my notes were completely gone. So I turned wi fi off on ipad and ipod so that i could save the notes in i pod and perhaps save